Web Hosting Talk







View Full Version : Using Apache to Add a Footer to all html pages?


JeremyL
08-14-2002, 08:15 PM
Is it possible to use apache to add a line of code to every web page served either from a certain domain or the whole server? I know some might say to use SSI includes, but I need this done without making the web page authors alter their code.

Thanks

AcuNett
08-14-2002, 11:11 PM
You can use mod_rewrite.

DigiCrime
08-14-2002, 11:39 PM
http://httpd.apache.org/docs/mod/mod_rewrite.html
:D

JeremyL
08-15-2002, 12:29 AM
OK I'm trying to figure out how to do it via that documentation but I'm lost. Any more specifics to narrow how to do it down?

Thanks

El Nino
08-15-2002, 02:17 AM
I'd also take a look at ModLayout (http://software.tangent.org/projects.pl?view=mod_layout)