CGI scripts not working

Peter Boosten peter at boosten.org
Mon Sep 1 14:29:26 UTC 2014


Op 1 sep. 2014, om 14:55 heeft Monah Baki <monahbaki at gmail.com> het volgende geschreven:

> Hi all,
> 
> I installed on FreeBSD 9.3 apache 2.4 from ports
> 
> I am trying to run the following test script located in
> /home/ipaudit/public_html/cgi-bin/test
> 
> 
> 
> AddHandler cgi-script .cgi
> 
> 
> 
> -rwxr-xr-x  1 ipaudit  ipaudit    165 Sep  1 08:31 test
> 
> 
> 
> 
> Am I missing anything else?
> 
> 
> 

The file extension maybe? Try naming the script test.cgi (as you instruct your AddHandler) 

Peter



More information about the freebsd-questions mailing list