barrycarlyon has asked for the wisdom of the Perl Monks concerning the following question:
On the old lsr server i used:
<perl> use lib '/home/lsrfm/perllib'; use lib '/home/lsrfm/webs/qwer.lsrfm.com/perllib'; use LSRfm::Application::CMS; </perl> PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off DirectoryIndex index.cgiapp <Files index.cgiapp> SetHandler perl-script PerlHandler LSRfm::Application::CMS->handler </Files>
Our new server (which i didnt choose) denies the use of perl tags in htaccess due to 'secruity'
What do i do instead as without the use line i just get a white page instead of a website
Update
Now using:, im just getting a white page...... which isnt right i should get the apache::status output.... should i not?
PerlInitHandler Apache2::Reload PerlSetVar ReloadAll Off ErrorDocument 400 /error/index.php ErrorDocument 401 /error/index.php ErrorDocument 403 /error/index.php ErrorDocument 404 /error/index.php ErrorDocument 500 /error/index.php Options +Indexes DirectoryIndex index.cgiapp <Files index.cgiapp> SetHandler perl-script PerlHandler Apache::Status </Files>
Update
Turns out the server does not have apache::reload installed (nor apache::Status for that matter) due to 'security'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl website - htaccess
by tinita (Parson) on Sep 03, 2007 at 18:14 UTC | |
|
Re: perl website - htaccess
by atemon (Chaplain) on Sep 03, 2007 at 18:02 UTC | |
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 | |
|
Re: perl website - htaccess
by moritz (Cardinal) on Sep 03, 2007 at 17:36 UTC | |
by barrycarlyon (Beadle) on Sep 03, 2007 at 17:56 UTC | |
by barrycarlyon (Beadle) on Sep 03, 2007 at 17:40 UTC |