Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache HTML Header Injection

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache Very Slow to Load  
Author Message
noreply8

External


Since: Jul 10, 2003
Posts: 3



(Msg. 1) Posted: Thu Jul 10, 2003 7:02 pm
Post subject: Apache HTML Header Injection
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Apache HTML Header Injection 
Back to top
Login to vote
wesgroleau

External


Since: Jul 06, 2003
Posts: 4



(Msg. 2) Posted: Thu Jul 10, 2003 7:02 pm
Post subject: Re: Apache HTML Header Injection [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache HTML Header Injection 
Back to top
Login to vote
noreply8

External


Since: Jul 10, 2003
Posts: 3



(Msg. 3) Posted: Fri Jul 11, 2003 2:30 pm
Post subject: Re: Apache HTML Header Injection [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 DeleteThis @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.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache HTML Header Injection 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Odd apache header (~~~~~~~~~~~~~~:) - Anyone know what this header is? My copy of apache returns it, and I've seen others do it too. Richard.

Apache 2 + mod_rewrite + content-length HTTP header - Hi, I use Apache 2 as a front server for a Zope web app, using mod_rewrite. Apache removes the content-length header from the HTTP response provided by Zope, and this is an issue in some situations as viewing a PDF file through MS Internet Explorer. ..

Apache not displaying index.html.en - Hey all, Just installed Apache 2. When i type http://server/manual - i get a 404 If i type http://server/manual/index.html.en it works, and shows the index page. Also, any link from the index page fails, because the links are to ..html but the files..

VirtualHosts and Absolute addressing in HTML - Hi, I'm up to my knees in crocodiles on this, and rapidly forgetting that my original intention was to drain the swamp. I'm using Apache 1.3.27 (installed using PHPDev 4) to maintain a number of Web sites. I use my local PC for development only (not as...

APACHE and PHP module - Hi , I got my multiple sites running now and I found I need to use PHP config directives in apache ..So I set up PHP to run as a module last night and got it to work ( I think !) .. How can I test PHP to see if its in the new configuration ?.So far I can...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]