[users@httpd] cgi scripts not running

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

 



I cannot get my cgi scripts to run; the script is displayed in the web browser instead.

I presume the problem is that the cgi directory is not recognised as a directory containing scripts.

 

I have checked  httpd.conf for:

 

ScriptAlias /cgi-bin/  “/var/www/cgi-bin/”

 

I do wonder if this line is being seen, unless I put the entire path in my script the file cannot be found.

 

 

I have also tried adding  AddHandler cgi-script  .cgi

 

and checked that an Option directive is included:

 

<Directory “/var/www/cgi-bin/”>

Options ExecCGI

 

AllowOverride None

Allow from all

Order allow,deny

 

</Directory>

 

 

just to see if that would work, but it does not L

 

 

I’ve checked that the scripts are set as executable and are executable by others (i.e. everyone)

 

 

I’ve run apachectl configtest gives Syntax ok

 

 

What I’m I doing wrong, any suggestion would be most greatly appreciated!

 

 

I am using Fedora Core 3, Apache 2.0

 

 

Many thanks

 

 

Stephen

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux