in reply to perl website - htaccess
Hi,
Please create a file named startup.pl (any other name will do, but this is the convention) and add your "use" lines inside it ( within a BEGIN block if you want to add more code) Then add the apache directive
and restart the server.PerlRequire "/<your directory path>/startup.pl"
update:
Your startup.pl should look like
#!/usr/bin/perl BEGIN{ use lib '/home/lsrfm/perllib'; use lib '/home/lsrfm/webs/qwer.lsrfm.com/perllib'; use LSRfm::Application::CMS; } 1; # return true as usual :)
Cheers !
--VC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl website - htaccess
by barrycarlyon (Beadle) on Sep 03, 2007 at 18:06 UTC | |
by atemon (Chaplain) on Sep 03, 2007 at 18:18 UTC | |
by barrycarlyon (Beadle) on Sep 03, 2007 at 23:34 UTC | |
by Anonymous Monk on Sep 04, 2007 at 07:20 UTC |