Re: [users@httpd] Force/add/append/inject HTML to documents (similar to 'Header append') for no archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you use only one page header for all your html files, you 
can then use that one instance for all of the pages on your 
site by including it with something like

<?php require "../incs/page-head.php"; ?>

at the top of each html page, where the <head>...</head> 
section would normally reside.

Then, you only need to make one change to the included 
page-head.php file, to affect all the pages on your site.

Keith

In theory, theory and practice are the same;
In practice they are not. 

On Sat, 18 Feb 2006, S.A. Birl wrote:

> To: users@xxxxxxxxxxxxxxxx
> From: S.A. Birl <sbirl+Apache-List@xxxxxxxxxxxxxxxxxx>
> Subject: [users@httpd] Force/add/append/inject HTML to documents (similar to
>     'Header append') for no archive
> 
> Im sure this has been asked before, but I was unable to find a
> suitable query to search the httpd-users list with:
> 
> Is it possible to have Apache 2.0.53 to append HTML information to
> pages as they are being served out?  Similar to 'Header append', but
> for the body?
> 
> I looked at all of Add* modules on the website, and couldnt think of
> anything that matches.  Im not sure if mod_asis or mod_cern_meta would
> help.
> 
> 
> Or does someone know of an easy way to append
> 	<META NAME="robots" CONTENT="noarchive">
> to 100+ files?
> 
> 
> 
> Thanks
>  Birl
> 
> Please do not CC me responses to my own posts.
> I'll read the responses on the list.
> 
> Archives   http://mail-archives.apache.org/mod_mbox/httpd-users/
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux