500 internal server error

Puneet Kishor punkish at EIDESIS.ORG
Sun Mar 12 14:29:32 EST 2006


On Mar 12, 2006, at 1:03 PM, Apeksha Bhambhani wrote:

> Hii all,
>  
> While running Mapserver on our localhost , as : 
> http://localhost/cgi-bin/mapserv  it gives the "500 internal server 
> error" .
> The server encountered an internal error or misconfiguration and was 
> unable to complete your request.
> Please contact the server administrator, root at localhost and inform 
> them of the time the error occurred, and anything you might have done 
> that may have caused the error.
> More information about this error may be available in the server error 
> log.
>  
> We are working on root . On checking the error log the following 
> messages were retrieved : 
>  
>
> [Sun Mar 12 23:27:12 2006] [error] [client 127.0.0.1] (13)Permission 
> denied: exec of '/var/www/cgi-bin/mapserv' failed

That is a clue. Check your permissions. Make sure Apache is configured 
to execute files in that cgi-bin, and that cgi-bin itself has correct 
permissions chmod-ed (and chown-ed).

> However using the Php/Mapscript API we are able to display the images .
>

That is being executed in a different directory which probably has the 
correct permissions, hence, it works.

--
Puneet Kishor



More information about the mapserver-users mailing list