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'

Barry Carlyon barry@barrycarlyon.co.uk

In reply to perl website - htaccess by barrycarlyon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.