<div dir="ltr">I somehow managed to solve this problem. <br>Now I'm have another problem, depending on what I write in index.html for the program. <br>In general I can't get it to work. Either I can run it but there's no map produced, only a grey box... or it complains it can't find certain files. <br>
<br>So in order to be clear: <br>My webfolder looks like this, I have:<br><br>cgi-bin/<br>mapserver/<br><br>>ou go to the url /cgi-bin/mapserv what do you see? you should see<br>
soemthing about empty QUERY_STRING<br><br>That ok, like you said. <br><br>but other than that it's not. Here are my configuration lines from index.html:<br><br> <!-- EDIT THE FORM ACTION --><br> <form name="demo" method="GET" action="../cgi-bin/mapserv" onSubmit="configure()"><br>
<br> <input type="hidden" name="layer" value="lakespy2"><br> <input type="hidden" name="layer" value="dlgstln2"><br> <input type="hidden" name="zoomsize" value=2><br>
<input type="hidden" name="map_web" value=""><br><br> <!-- EDIT THESE HIDDEN VARIABLES --><br> <input type="hidden" name="map" value="/var/www/mapserver/itasca.map"><br>
<input type="hidden" name="program" value="../cgi-bin/"><br> <input type="hidden" name="root" value="/"><br><br><br>I hope this is enough info for someone to help me.<br>
<br>Thanks, Oz <br><br><div class="gmail_quote">On Sun, Oct 12, 2008 at 4:42 PM, Brent Pedersen <span dir="ltr"><<a href="mailto:bpederse@gmail.com">bpederse@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Sun, Oct 12, 2008 at 5:26 AM, Oz Nahum <<a href="mailto:nahumoz@gmail.com">nahumoz@gmail.com</a>> wrote:<br>
> Hi Everyone,<br>
> I've installed mapserver from source on debian lenny.<br>
> My local host directory it like this that mapserevr is in<br>
> localhost/mapserver/<br>
><br>
> After compiling the source I copied all the executables files to<br>
> /var/www/cgi-bin/<br>
><br>
> in my httpd.conf i added the lines<br>
><br>
> <IfModule mod_alias.c><br>
><br>
> ScriptAlias /cgi-bin/ /var/www/cgi-bin/<br>
><br>
> <Directory /var/www/cgi-bin/><br>
> AllowOverride None<br>
> Options ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>
> Order allow,deny<br>
> Allow from all<br>
><br>
> </Directory><br>
> </IfModule><br>
><br>
> but I still get 403 errors pressing any of the buttons in mapserver when it<br>
> is already running.<br>
><br>
> "Forbidden<br>
><br>
> You don't have permission to access /cgi-bin/ on this server."<br>
><br>
> What am I doing wrong ???<br>
><br>
> Thanks, Oz<br>
><br>
><br>
> --<br>
> .''`.<br>
> : :' : We are <a href="http://debian.org" target="_blank">debian.org</a>. Lower your prices,<br>
> `. `' surrender your code.<br>
> `- We will add your hardware and software<br>
> distinctiveness to our own.<br>
> Resistance is futile.<br>
><br>
> ----<br>
> Imagine there's no countries<br>
> It isn't hard to do<br>
> Nothing to kill or die for<br>
> And no religion too<br>
> Imagine all the people<br>
> Living life in peace<br>
> ----<br>
> You all must read 'The God Delusion'<br>
> <a href="http://en.wikipedia.org/wiki/The_God_Delusion" target="_blank">http://en.wikipedia.org/wiki/The_God_Delusion</a><br>
> ---<br>
> when one person suffers from a delusion it is called insanity. When many<br>
> people suffer from a delusion it is called religion."<br>
> Robert Pirsig, Zen and the Art of Motorcycle Maintenance<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
><br>
<br>
hi,<br>
not sure what you mean by pressing buttons when it's running, but when<br>
you go to the url /cgi-bin/mapserv what do you see? you should see<br>
soemthing about empty QUERY_STRING. if not, check your apache.conf,<br>
debian usually comes with /cgi-bin/ already defined the apache conf.<br>
also check to see that mapserv is executable.<br>
<font color="#888888"><br>
-brent<br>
</font></blockquote></div><br><br clear="all"><br>-- <br> .''`.<br> : :' : We are <a href="http://debian.org">debian.org</a>. Lower your prices, <br> `. `' surrender your code.<br> `- We will add your hardware and software <br>
distinctiveness to our own. <br> Resistance is futile.<br><br>----<br> Imagine there's no countries<br> It isn't hard to do<br> Nothing to kill or die for<br>
And no religion too<br> Imagine all the people<br> Living life in peace <br>----<br> You all must read 'The God Delusion' <br> <a href="http://en.wikipedia.org/wiki/The_God_Delusion">http://en.wikipedia.org/wiki/The_God_Delusion</a><br>
---<br>when one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion."<br>Robert Pirsig, Zen and the Art of Motorcycle Maintenance<br><br>
</div>