This is a discussion on Apache HTML Header Injection within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, Does anyone know of a way that I can inject some html code into the header of every html ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
Does anyone know of a way that I can inject some html code into the header of every html document requested from my Linux Apache Web Server. I am developing a very simple PHP/Mysql company intranet and would like an easy way to insert the company logo and a simple menu syste, at the top of every page without having to place it into the document directly. I know I could use php to include a header document or even SSI's but I would really rather do this through Apache somehow. This is something I have seen in the past performed by "free" web space providers. Kind Regards |
|
|||
|
Paul Woodward wrote:
> I know I could use php to include a header document or even SSI's but I > would really rather do this through Apache somehow. I know of a "free" web space provider who put banner ads on every page by modifying the SSI parser and recompiling. |
|
|||
|
I will look into that option however you have prompted me into thinking that
I may be able to modify the PHP parser to inject the header information I require which is a similar technique to what you suggested. I will let you know how I get on. Many Thanks, Paul Woodward "Wesley Groleau" <wesgroleau@despammed.com> wrote in message news:3KadnSanvcx0XZCiU-KYgw@gbronline.com... > Paul Woodward wrote: > > I know I could use php to include a header document or even SSI's but I > > would really rather do this through Apache somehow. > > I know of a "free" web space provider who > put banner ads on every page by modifying > the SSI parser and recompiling. > |