in reply to Re: Using mod_perl, with SSI?
in thread Using mod_perl, with SSI?

Thanks for the reply. Ok, so the times in ms, are how long it takes the initial page to be returned. So in this case, its 213ms (and then the rest of the content is loaded once thats happened). After SSI, it takes 618ms (so its holding back the page load by another 200+ ms)

My config for mod_perl is:

PerlRequire /home/user/startup.pl PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlModule Apache2::RequestRec ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/ <Directory /home/user/public_html/cgi-bin> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders PerlOptions +SetupEnv Options +ExecCGI </Directory>
From what I've been reading, it looks like this error:

unknown directive "perl" in parsed doc

...means that the "perl" option isn't enabled at compilation. I've submitted a ticket with our host, to see if they can shed some light on what may need to be tweaked.

Cheers

Andy

Replies are listed 'Best First'.
Re^3: Using mod_perl, with SSI?
by Anonymous Monk on Dec 02, 2015 at 08:32 UTC
      Thanks for the reply. In the end, I decided to use speedcgi just for that, by adding this as the shebang:

      #!/usr/bin/speedy
      Seems to have knocked the load time down by over 50% ... so I'm happy with that :)

      Thanks!