in reply to problem with paths to library files
On the other hand, if your site is using ModPerl, you can configure your libpath in the httpd.conf (or similar) using:BEGIN { my $path=$0; $path=~s{[^\/]+$}{libs/}; } use lib $path;
And then read that config with:<virtualhost *:80> # ... PerlSetVar libpath "/path/to/your/libs/"; </virtualhost>
Hope this help.BEGIN { my $path=$r->dir_config("libpath"); } use lib $path;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem with paths to library files
by almut (Canon) on Jan 17, 2007 at 11:04 UTC | |
by j_c (Novice) on Jan 17, 2007 at 11:24 UTC | |
by almut (Canon) on Jan 17, 2007 at 12:52 UTC |