[Mapserver-users] (newbie): Win32 Apache error when calling Mapserv.exe
Pericles S. Nacionales
nacional at cbs.umn.edu
Thu Jan 22 12:16:20 PST 2004
In addition to what Tyler already said, run "mapserv.exe -v" from the command
prompt and see if it returns something like:
MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
If not, something is wrong with your executable. But then again it could just
be permission problems. Or perhaps you've locked down your CGI-BIN directory
so that only scripts with certain extensions would run?
By the way, you might want to upgrade your apache to version 1.3.29 or
something. I think there were some security issues on 1.3.27--not good if
your computer is connected to the rest of this wacky world.
-Perry N.
On Thursday 22 January 2004 10:18 am, Tyler Mitchell wrote:
> Is Apache properly configure to execute files in
> c:/phpdev/www/cgi-bin/mapserv.exe ?
> It looks like it is not trying to execute the file, but trying to display
> the contents. You may want to first try putting mapserv.exe in c:\program
> files\apache group\apache\cgi-bin and try it there instead, since the
> permissions and execution flags are already set in httpd.conf. Hmm...but
> you must have change the Alias. Show us the parts of httpd.conf that you
> changed.
>
> mapserver-users-admin at lists.gis.umn.edu wrote on 01/21/2004 09:48:20 PM:
> > Hi all,
> >
> > I'm just getting started with Mapserver (well, not even that!) - I have
> > Apache 1.3.27 running on Windows2000 and am trying to run the Mapserver
>
> 4.0
>
> > demo application.
> >
> > I try to test the MapServer application according to the tutorial
> > instructions, with the URL
> > http://localhost/cgi-bin/mapserv.exe?
> > And Apache returns the following error 500:
> > [error] Unrecognized character \x90 at c:/phpdev/www/cgi-bin/mapserv.exe
> > line 1.
> >
> > Can anyone give a suggestion what might be wrong?
> >
> > TIA
> >
> > Yuri Banens
> >
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
Pericles S. Nacionales
Dept. of Ecology, Evolution & Behavior
College of Biological Sciences
University of Minnesota
e-mail: nacional at cbs.umn.edu
phone: 612 624 6713
More information about the MapServer-users
mailing list