httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Gration <rich...@zync.co.uk>
Subject Re: [users@httpd] Newbie - need help with running cgi from a userdir
Date Fri, 20 Feb 2004 16:31:19 GMT
Geraint Jones wrote:
> Bao - I added your suggestion to the "Userdir" block which was in 
> "default-server.conf". It's a step forward because now I get an error 403 
> "Access forbidden" message instead of a printout of the script. I get this in 
> the error log:
> 
> [Fri Feb 20 15:40:28 2004] [error] [client 127.0.0.1] Options ExecCGI is off 
> in this directory: /home/geraint/public_html/cgi-bin/inv-main.cgi
> 

>>
>>    Options +ExecCGI
>>    AddHandler cgi-scirpt .pl

These directives need to go in another <Directory> block, as in

<Directory /home/*/public_html/cgi-bin>
	Options +ExecCGI
	AddHandler cgi-script .pl
</Directory>

Rich


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message