in reply to Re: loading Perl modules onto virtual web host
in thread loading Perl modules onto virtual web host
How would this be a help? Well..
You can set up a .htaccess file in the directory that your script is located, then set the PERL5LIB environment variable to point to the directory in which you stored your uploaded (FTP'd) CPAN modules. In particular, look into the SetEnv directive.
At a guess I would suggest a .htaccess file that looks like:
<Files ~ "\.pl$"> Options +ExecCGI SetHandler cgi-script SetEnv PERL5LIB /home/myusername/myperl/lib </Files>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: loading Perl modules onto virtual web host
by Anonymous Monk on Oct 11, 2006 at 10:31 UTC | |
by monarch (Priest) on Nov 02, 2006 at 11:46 UTC |