Ross Hendry wrote:
> How can I make a cgi-bin/ directory in a users home actually execute cgi
> scripts? The server works fine seeing html files in ~/public_html/ but I can't
> get it to execute files in the cgi dir. The only way I found round it was to
> add another line to the conf file making a /user-cgi/ directory that pointed to
> my personal cgi-bin. This then buggers up parts of the scripts. Help please!
>
> Ross
In httpd.conf you will want something like this
<Directory /home/*/public_html/cgi-bin>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec execCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
You will probably have to adjust the options.
See the apache documentation for what the options do.
HTH
Lawrence
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------