[mapserver-users] problems with running the demo
Oz Nahum
nahumoz at gmail.com
Sun Oct 12 09:01:27 PDT 2008
I somehow managed to solve this problem.
Now I'm have another problem, depending on what I write in index.html for
the program.
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.
So in order to be clear:
My webfolder looks like this, I have:
cgi-bin/
mapserver/
>ou go to the url /cgi-bin/mapserv what do you see? you should see
soemthing about empty QUERY_STRING
That ok, like you said.
but other than that it's not. Here are my configuration lines from
index.html:
<!-- EDIT THE FORM ACTION -->
<form name="demo" method="GET" action="../cgi-bin/mapserv"
onSubmit="configure()">
<input type="hidden" name="layer" value="lakespy2">
<input type="hidden" name="layer" value="dlgstln2">
<input type="hidden" name="zoomsize" value=2>
<input type="hidden" name="map_web" value="">
<!-- EDIT THESE HIDDEN VARIABLES -->
<input type="hidden" name="map" value="/var/www/mapserver/itasca.map">
<input type="hidden" name="program" value="../cgi-bin/">
<input type="hidden" name="root" value="/">
I hope this is enough info for someone to help me.
Thanks, Oz
On Sun, Oct 12, 2008 at 4:42 PM, Brent Pedersen <bpederse at gmail.com> wrote:
> 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
>
--
.''`.
: :' : 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081012/e0f33cca/attachment.htm>
More information about the MapServer-users
mailing list