run perl scrip with post form from apache

Peter Risdon peter at circlesquared.com
Sat Feb 28 09:38:55 PST 2004


fbsd_user wrote:

>All ready had sim.pl set as 770 and owner as www and group as wheel
>
>
>  
>
>>The httpd-error.log has these messages now
>>
>>(2)No such file or directory: exec of /usr/local/www/data/sim.pl
>>    
>>
Just a thought - where does your ScriptAlias line in httpd.conf point? 
The default is:

   ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"

and your script needs to be in there to execute as cgi. Your script is 
in the document root /usr/local/www/data

PWR.





More information about the freebsd-questions mailing list