[mapserver-users] problems with running the demo

Brent Pedersen bpederse at gmail.com
Sun Oct 12 10:42:18 EDT 2008


On Sun, Oct 12, 2008 at 5:26 AM, Oz Nahum <nahumoz at gmail.com> wrote:
> Hi Everyone,
> I've installed mapserver from source on debian lenny.
> My local host directory it like this that mapserevr is in
> localhost/mapserver/
>
> After compiling the source I copied all the executables files to
> /var/www/cgi-bin/
>
> in my httpd.conf i added the lines
>
> <IfModule mod_alias.c>
>
>     ScriptAlias /cgi-bin/ /var/www/cgi-bin/
>
>     <Directory /var/www/cgi-bin/>
>         AllowOverride None
>         Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
>         Order allow,deny
>         Allow from all
>
>     </Directory>
> </IfModule>
>
> but I still get 403 errors pressing any of the buttons in mapserver when it
> is already running.
>
> "Forbidden
>
> You don't have permission to access /cgi-bin/ on this server."
>
> What am I doing wrong ???
>
> Thanks, Oz
>
>
> --
>  .''`.
> : :' :      We are debian.org. Lower your prices,
> `. `'       surrender your code.
>   `-        We will add your hardware and  software
>             distinctiveness to our own.
>             Resistance is futile.
>
> ----
>            Imagine there's no countries
>            It isn't hard to do
>            Nothing to kill or die for
>            And no religion too
>            Imagine all the people
>            Living life in peace
> ----
>           You all must read 'The God Delusion'
>           http://en.wikipedia.org/wiki/The_God_Delusion
> ---
> when one person suffers from a delusion it is called insanity. When many
> people suffer from a delusion it is called religion."
> Robert Pirsig, Zen and the Art of Motorcycle Maintenance
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>

hi,
not sure what you mean by pressing buttons when it's running, but when
you go to the url /cgi-bin/mapserv what do you see? you should see
soemthing about empty QUERY_STRING. if not, check your apache.conf,
debian usually comes with /cgi-bin/ already defined the apache conf.
also check to see that mapserv is executable.

-brent


More information about the mapserver-users mailing list