engarde-users April 2003 archive
Main Archive Page > Month Archives  > engarde-users archives
engarde-users: [EnGarde] Re: Help, please - apache does not exec

[EnGarde] Re: Help, please - apache does not execute a simple perl cgi program

From: <meng12a_at_nospam>
Date: Tue Apr 08 2003 - 03:50:44 GMT
To: engarde-users@engardelinux.org


Thanks for your suggestion. I had posted the httpd.conf earlier..



error_log:

Sun Apr 6 08:53:32 2003] [error] [client 206.80.111.48] Premature end of script headers:
/home/httpd/www.miwec.net-80/cgi-bin/test.cgi

Sun Apr 6 08:59:48 2003] [error] (2)No such file or directory: exec of /home/httpd/www.miwec.net-80/cgibin /test.cgi failed

Sun Apr 6 08:59:48 2003] [error] [client 206.80.111.48] Premature end of script headers:
/home/httpd/www.miwec.net-80/cgi-bin/test.cgi



access_log:

206.80.111.48 - - [06/Apr/2003:08:30:44 -0700] "GET /cgibin /test.cgi HTTP/1.1" 500 536

206.80.111.48 - - [06/Apr/2003:08:45:10 -0700] "GET / HTTP/1.1" 304 - 206.80.111.48 - - [06/Apr/2003:08:45:11 -0700] "GET /cgibin /test.cgi HTTP/1.1" 500 536

206.80.111.48 - - [06/Apr/2003:08:53:27 -0700] "GET /cgibin /test.cgi HTTP/1.1" 500 536



httpd.conf

<Directory "/home/httpd/www.miwec.net-80/html">  AllowOverride all
</Directory>

<Directory "/home/httpd/www.miwec.net-80/cgi-bin">  AddHandler cgi-script .cgi .pl
 Options +ExecCGI
</Directory>

<VirtualHost www.miwec.net:80>

DocumentRoot /home/httpd/www.miwec.net-80/html

ServerName www.miwec.net

ServerAdmin support-at-mscaxp.org

ScriptAlias /cgi-bin/ /home/httpd/www.miwec.net-80/cgibin /

ErrorLog /home/httpd/www.miwec.net-80/logs/error_log

TransferLog /home/httpd/www.miwec.net-80/logs/access_log

Options Includes

</VirtualHost

Other portions of httpd.conf is unchanged from what engarde originally set up.

Mo.

> this is worth alot. could you post your httpd.conf file? or at least the
> appropriate <VirtualHost> sections? do you have something like:
>
> <Directory "/home/httpd/www.dummydata.com-80/cgi-bin">
> Options +ExecCGI
> </Directory>
> ScriptAlias /cgi-bin/ /path/to/your/cgi-bin/
>
> in your <VirtualHost> section?
>
> it looks like the default php build from engarde doesn't have the
> '--enable-cli' so will php cgi even work? unless you've compiled your own
> php that is. . .
>
> &dru
> --
> Asked by agents if he had anything else to tell them, Cusack responded:
> "Yes, I've got monkeys in my pants."
>
> ------------------------------------------------------------------------
> To unsubscribe email engarde-users-request@engardelinux.org
> with "unsubscribe" in the subject of the message.
>
>
>


To unsubscribe email engarde-users-request@engardelinux.org with "unsubscribe" in the subject of the message.