Fedora Core 2 Apache CGI

Alexander Dalloz ad+lists at uni-x.org
Sun Nov 7 21:57:26 UTC 2004


Am So, den 07.11.2004 schrieb Brian McDonald um 22:25:

> I am trying to get Perl cgi running on my FC2 Apache.
> 
> my httpd.conf
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> 
> <Directory "/var/www/cgi-bin">
> Options +Execcgi

Not needed because the directory is already set with ScriptAlias.

> Order allow,deny
> Allow from all
> </Directory>
> 
> >From my error_log
> [Sun Nov 07 15:43:00 2004] [error] [client 192.168.1.101] (2)No such file or
> directory: exec of '/var/www/cgi-bin/test.cgi' failed
> [Sun Nov 07 15:43:00 2004] [error] [client 192.168.1.101] Premature end of
> script headers: test.cgi

http://httpd.apache.org/docs/misc/FAQ-F.html#premature-script-headers

> The test cgi is in the /var/www/cgi-bin/ and has permissions of 755
> cgi-bin has permissions of 755

> Brian

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 22:51:09 up 18 days, 20:30, load average: 2.55, 0.97, 0.59 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041107/3451fce5/attachment-0001.sig>


More information about the fedora-list mailing list