I am using following code in my srm.conf, which works fine but it only puts header & footer for a
<FilesMatch "\.(html|htm)$">
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER "/my_header.html"
PerlSetVar FOOTER "/my_footer.html"
PerlSendHeader On
Options +ExecCGI
</FilesMatch>
I have another 5 virtual host websites, where the above code does not work. I also tried
<Directory /home>
....the above code....
</Directory>
I thought this way I can get code working for all .html files that are below /home directory level. All my virtual host sites have document root in /home dir. BUT NO LUCK
ANY SUGGESTIONS .... Appreciated. Thanks in advance.
perlguy
<FilesMatch "\.(html|htm)$">
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER "/my_header.html"
PerlSetVar FOOTER "/my_footer.html"
PerlSendHeader On
Options +ExecCGI
</FilesMatch>
I have another 5 virtual host websites, where the above code does not work. I also tried
<Directory /home>
....the above code....
</Directory>
I thought this way I can get code working for all .html files that are below /home directory level. All my virtual host sites have document root in /home dir. BUT NO LUCK
ANY SUGGESTIONS .... Appreciated. Thanks in advance.
perlguy