<div dir="ltr">I somehow managed to solve this problem. <br>Now I&#39;m have another problem, depending on what I write in index.html for the program. <br>In general I can&#39;t get it to work. Either I can run it but there&#39;s no map produced, only a grey box... or it complains it can&#39;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>&gt;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&#39;s not. Here are my configuration lines from index.html:<br><br>&nbsp;&lt;!-- EDIT THE FORM ACTION --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;form name=&quot;demo&quot; method=&quot;GET&quot; action=&quot;../cgi-bin/mapserv&quot; onSubmit=&quot;configure()&quot;&gt;<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;lakespy2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;dlgstln2&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;zoomsize&quot; value=2&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map_web&quot; value=&quot;&quot;&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- EDIT THESE HIDDEN VARIABLES --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map&quot; value=&quot;/var/www/mapserver/itasca.map&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;program&quot; value=&quot;../cgi-bin/&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;root&quot; value=&quot;/&quot;&gt;<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">&lt;<a href="mailto:bpederse@gmail.com">bpederse@gmail.com</a>&gt;</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 &lt;<a href="mailto:nahumoz@gmail.com">nahumoz@gmail.com</a>&gt; wrote:<br>
&gt; Hi Everyone,<br>
&gt; I&#39;ve installed mapserver from source on debian lenny.<br>
&gt; My local host directory it like this that mapserevr is in<br>
&gt; localhost/mapserver/<br>
&gt;<br>
&gt; After compiling the source I copied all the executables files to<br>
&gt; /var/www/cgi-bin/<br>
&gt;<br>
&gt; in my httpd.conf i added the lines<br>
&gt;<br>
&gt; &lt;IfModule mod_alias.c&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; ScriptAlias /cgi-bin/ /var/www/cgi-bin/<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;Directory /var/www/cgi-bin/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; AllowOverride None<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Options ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Allow from all<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;/Directory&gt;<br>
&gt; &lt;/IfModule&gt;<br>
&gt;<br>
&gt; but I still get 403 errors pressing any of the buttons in mapserver when it<br>
&gt; is already running.<br>
&gt;<br>
&gt; &quot;Forbidden<br>
&gt;<br>
&gt; You don&#39;t have permission to access /cgi-bin/ on this server.&quot;<br>
&gt;<br>
&gt; What am I doing wrong ???<br>
&gt;<br>
&gt; Thanks, Oz<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &nbsp;.&#39;&#39;`.<br>
&gt; : :&#39; : &nbsp; &nbsp; &nbsp;We are <a href="http://debian.org" target="_blank">debian.org</a>. Lower your prices,<br>
&gt; `. `&#39; &nbsp; &nbsp; &nbsp; surrender your code.<br>
&gt; &nbsp; `- &nbsp; &nbsp; &nbsp; &nbsp;We will add your hardware and &nbsp;software<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; distinctiveness to our own.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Resistance is futile.<br>
&gt;<br>
&gt; ----<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Imagine there&#39;s no countries<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;It isn&#39;t hard to do<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Nothing to kill or die for<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;And no religion too<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Imagine all the people<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Living life in peace<br>
&gt; ----<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You all must read &#39;The God Delusion&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://en.wikipedia.org/wiki/The_God_Delusion" target="_blank">http://en.wikipedia.org/wiki/The_God_Delusion</a><br>
&gt; ---<br>
&gt; when one person suffers from a delusion it is called insanity. When many<br>
&gt; people suffer from a delusion it is called religion.&quot;<br>
&gt; Robert Pirsig, Zen and the Art of Motorcycle Maintenance<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;<br>
&gt;<br>
<br>
hi,<br>
not sure what you mean by pressing buttons when it&#39;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> &nbsp;.&#39;&#39;`.<br> : :&#39; : &nbsp; &nbsp; &nbsp;We are <a href="http://debian.org">debian.org</a>. Lower your prices, &nbsp; <br> `. `&#39; &nbsp; &nbsp; &nbsp; surrender your code.<br> &nbsp; `- &nbsp; &nbsp; &nbsp; &nbsp;We will add your hardware and &nbsp;software &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; distinctiveness to our own. <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Resistance is futile.<br><br>----<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Imagine there&#39;s no countries<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;It isn&#39;t hard to do<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Nothing to kill or die for<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;And no religion too<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Imagine all the people<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Living life in peace <br>----<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; You all must read &#39;The God Delusion&#39; <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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.&quot;<br>Robert Pirsig, Zen and the Art of Motorcycle Maintenance<br><br>
</div>