[olug] Running Perl in a user directory
Christopher Cashell
topher at zyp.org
Tue Jan 8 22:19:20 UTC 2002
On Tue, Jan 08, 2002 at 04:08:14PM -0800, Mike Peterson wrote:
> Has anyone come across a how to or cheat sheet for setting up a user
> to be able to run .pl scripts from within user space instead of from
> within cgi-bin or in addition to the normal cgi-bin area?
If you want to enable perl scripts for everyone, here's the httpd.conf
directive to do it (assuming mod_perl, if you're not using mod perl then
you just need to enable the ExecCGI option for the directories you want
them able to run in).
# If mod_perl is installed, then enable it for use.
<IfModule mod_perl.c>
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</Files>
</IfModule>
--
Christopher
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list