Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mod_perl

Status
Not open for further replies.

perlguy

Programmer
May 17, 2001
26
0
0
US
I am using following code in my srm.conf, which works fine but it only puts header & footer for a
<FilesMatch &quot;\.(html|htm)$&quot;>
SetHandler perl-script
PerlHandler Apache::Sandwich
PerlSetVar HEADER &quot;/my_header.html&quot;
PerlSetVar FOOTER &quot;/my_footer.html&quot;
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top