Re: Fedora Core 2 Apache CGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux