Results 1 to 6 of 6
-
05-11-2008, 08:00 PM #1Junior Guru Wannabe
- Join Date
- May 2008
- Posts
- 45
Apache has a way to insert some html code below <body> to every webpage ?
How to modify add some html code (such as banner, header, footer) to every webpage? without modify original files.
Under <body> or above </html> tags.
Something like search and replace.
-
05-11-2008, 08:14 PM #2Web Hosting Master
- Join Date
- Oct 2003
- Posts
- 9,264
mod_layout
-
05-11-2008, 08:29 PM #3New Member
- Join Date
- May 2008
- Posts
- 3
Using Mod_Layout...
<VirtualHost website:80>
LayoutHeader /usr/local/apache/htdocs/header.html
</VirtualHost>
and
<VirtualHost website:80>
LayoutFooter /usr/local/apache/htdocs/footer.html
</VirtualHost>
-
05-11-2008, 08:33 PM #4Aspiring Evangelist
- Join Date
- Apr 2008
- Posts
- 444
Check on sed command
WebbyCart.com - Pushing Onwards
Server Management | Outsourced Hosting Support | Remote / Offsite Rsync Backup | Fully Managed Servers & Cloud VPS
sales@webbycart.com
-
05-11-2008, 08:39 PM #5Junior Guru Wannabe
- Join Date
- May 2008
- Posts
- 45
Cool! thankz.
Make life easiest.
-
05-12-2008, 06:13 AM #6Web Hosting Master
- Join Date
- Apr 2002
- Location
- Auckland - New Zealand
- Posts
- 1,575
You can also use mod_ext_filter to do this as well.