You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Tom Kralidis <to...@hotmail.com> on 2001/01/07 15:47:06 UTC

mod_perl / Apache::SSI problems

Hi,

Thanks for the previous advice to install Apache::SSI.

If you recall, I've added an Apache::Footer to each page of type .htm|.html. 
  I'm trying to get this done with .shtml pages as well.

I installed Apache::SSI, and did some testing:

#httpd.conf
   PerlModule Apache::Filter
   PerlModule Apache::TomSSI # #perl directive in .phtml

   <Files *.phtml>
    SetHandler perl-script
    PerlSetVar Filter On
#    PerlHandler TomSSI Apache::Footer
     PerlHandler Apache::Hello Apache::Footer
#    PerlHandler Apache::Footer
   </Files>

two problems:

1./ If I write a bare .phtml page, the two modules' output shows, but with 
extra info in between them:

HTTP/1.1 200 OK Date: Sun, 07 Jan 2001 14:42:24 GMT Server: Apache/1.3.14 
(Unix) mod_perl/1.24_01 Keep-Alive: timeout=15, max=99 Connection: 
Keep-Alive, Keep-Alive Transfer-Encoding: chunked, chunked Content-Type: 
text/html

2./ Also, the usual (non #perl) SSI directives do not work.  Nothing 
suspicious in error_log.  If I enter the SSI directive only, this works, ie:

PerlHandler TomSSI

Any clues as to what's happening?

THanks

..Tom

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.