[Wylug-help] Apache Suexec problem.

Bentony@leedsnet.com Bentony at leedsnet.com
Wed, 06 Sep 2000 18:29:34 +0100


At 11:24 AM 8/9/00, Gary Stainburn wrote:
>Hi all.
>
>I'm having problems setting up an Apache server.  All's fine until I try 
>to run a cgi.
>The URL is http://cms.ringways.co.uk/cgi-bin/query
>The file is there and okay, as demonstrated by the first line of the 
>suexec_log below
>but all I get back is  '500 Internal Server Error' and the second line in 
>the suexec_log
>
>Does anyone have any suggestions?
>
>Virtual host section:
><VirtualHost 10.1.1.111>
>     user cms
>     group cms
>     ServerAdmin webmaster@ringways.co.uk
>     DocumentRoot /home/cms/public_html
>     ServerName cms.ringways.co.uk
>     ErrorLog logs/cms-error_log
>     CustomLog logs/cms-access_log common
>     ScriptAlias /cgi-bin/ /home/cms/public_html/cgi-bin/
></VirtualHost>
>
>suexec_log entries
>
>[2000-08-09 11:11:24]: info: (target/actual) uid: (cms/cms) gid: (cms/cms) 
>cmd: query
>[2000-08-09 11:11:24]: emerg: cannot get docroot information 
>(/home/*/public_html)

Do the directories
       /home/cms/public_html
       /home/cms/public_html/cgi-bin/

exist? Do the elements on the path to them have the proper permissions?

Could you tell use which version of Apache you have? Its possible that the
httpd.conf syntax has changed.

Ben.