I find that using links works well for this. I create a cgi-bin directory in each user account with a link. ln -s /usr/local/httpd/cgi-bin/some_user /home/some_user/public_html/cgi-bin Matthias Hennig wrote:
Can I store CGI scripts in a user's home directory instead of /usr/local/httpd/cgi-bin, or is that the only location they can be in.
It depends on how apache is configured.
After a little searching I discovered that it is possible by modifying /etc/httpd/access.conf and /etc/httpd/srn.conf, but what do I put in them. A list of paths?
Hi
I did also a bit of searching and I found the following in srm.conf:
AllowOverride None Options +ExecCGI SetHandler cgi-script </Directory> With that, I can access cgi-scripts via http://servername/~user/user-cgi-bin/script.pl It works fine for me, however there might be a better/easier way to do this. (maybe with a clever .htaccess in that directory ?)
Matthias
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/