Premature end of script headers: mapserv.exe
Bart van den Eijnden
bartvde at XS4ALL.NL
Sat May 14 02:06:31 PDT 2005
Does it work when you put the dll's next to the Mapserver CGI?
Otherwise try setting the environment variables through SetEnv in
httpd.conf.
You can also have a look at MS4W:
http://www.maptools.org/ms4w/index.phtml
Best regards,
Bart
On Sat, 14 May 2005 01:06:09 +0200, Spencer Cox <spencer.cox at TESERA.COM>
wrote:
> I am trying to add Mapserver to a web server running Apache/2.0.54
> (Win32) PHP/5.0.4. I've tried a few binary builds and they seem to
> result in the same internal server error message. I am able to access
> mapserv.exe -v with the command line and the version information looks
> correct. When I try and access it through a web browser the internal
> server error comes up. It writes the following to my Apache error logs:
>
> [Fri May 13 16:51:19 2005] [error] [client 127.0.0.1] Premature end of
> script headers: mapserv.exe
> [Fri May 13 16:51:19 2005] [error] [client 127.0.0.1] File does not
> exist: D:/Server/Website/favicon.ico
>
> Anyone have any recommendations on what to do or where to look. Is
> there any detailed documentation on configuring Mapserver for Apache?
> I've added the dll directory to the system PATH and created a variable
> for the Proj. I haven't been able to add the PHP extension
> php_mapscript_45.dll (when I try it says the specified module cannot be
> found) even though its with the other php extensions, and referred to
> correctly in the php.ini file...Maybe this relates to the problem.
>
> I've pretty much exhausted my limited knowledge trying different
> things. If anyone has any suggestions of things to try, or relevant
> documentation I thank you in advance!
>
> Have a good one!
>
> --
> Spencer Cox - GIS Specialist
> Tesera Systems Inc.
> Tel: (403) 932-0440
> Mailing Address: Box 1078, Cochrane AB, T4C 1B1
> Street Address: 126A River Avenue, Cochrane AB T4C 2C2
> Web: www.tesera.com
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the MapServer-users
mailing list