Hello Everyone !!
I�m new to PAR and I trying to use it in a Win32 environment...(Apache 2.0.48 compiled
with mod_include and mod_perl-1.99_10/PAR-0.80/Apache::PAR-0;30)
Instalation of Apache::PAR works fine to me, but there is something I still fail to
handle with: In my normal (bunch of files) distribution, I also use tons of SSI tags
to segregate business from presentation... But when I put all my shtml files in a
folder handled by Apache::PAR::Static, it couldn�t parse the <!--#include
virtual="..." --> tags.
So, is there a way to use SSI ***INSIDE*** a PAR files ? I guess if that would be
possible, it will be much like a Java Server Pages, but in Perl.
I have tryed this, without sucess:
Alias /myapp/static/ ##PARFILE##/
<Location /myapp/static>
SetHandler perl-script
PerlSetVar Filter On # From Apache::Filter,
that allow "Handle-Chain" processing...
PerlHandler Apache::SSI Apache::PAR::Static # Request will be send
to SSI handle first, than, to PAR::Static
PerlSetVar PARStaticDirectoryIndex index.shtml
PerlSetVar PARStaticDefaultMIME text/html
PerlSetVar PARStaticCacheType memory
PerlSetVar PARStaticCacheExpires "1 day"
PerlSetVar PARStaticCacheMaxSize 1000
</Location>
Handle-Chain works, but Apache::SSI hangs up.. :(
Any help would be nice !!
Thanks !
Mauro Ribeiro