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'
In reply to perl website - htaccess by barrycarlyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |