in reply to PERL5LIB with Apache
You can create file .htaccess and define there path to your library:
But notice that this should be allowed do in http.conf:PerlSetEnv PERL5LIB /path/to/your/library
In this case you can change this path without restart Apache.<Directory "/var/www/html"> Options Indexes FollowSymLink AllowOverride All # !!!!!! Order allow,deny Allow from all </Directory>
Also, you can create some start up script, where you can define path to your libraries:
But notice that if you change this path you should restart Apache!use lib qw('/path/to/your/library');
I think it will be useful for you to see .htaccess files howto and CGI to mod_perl Porting. mod_perl Coding guidelines.
Hope it will help you.
_
_
_
_
_
_
M
i
c
h
a
e
l
|
|---|