httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "António Rafael Paiva" <a20...@alunos.det.ua.pt>
Subject Re: [users@httpd] Headers
Date Tue, 15 Apr 2003 09:43:54 GMT
On Tue, 15 Apr 2003 11:29:39 +0200
  "Boyle Owen" <Owen.Boyle@swx.com> wrote:
> >-----Original Message-----
> >From: António Rafael Paiva 
> >[mailto:a20130@alunos.det.ua.pt]
> >
> >No. What i intent is to add a HTML file or the result of 
> >a 
> >PHP script. This is for adding publicity banners as a 
> >way 
> >of paying the internet access... (which i have been 
> >asking)
> 
> There is no simple way to do this... Apache just gets 
> files and serves them. If you want to open them and edit 
> the contents, you need to run some kind of server-sided 
> application to do this. If you think about it, it is 
> really complicated to inject something like an <img> tag 
> into an arbitrary HTML page - you need to do some 
> careful pattern matching to make sure you are not 
> breaking any mark-up in the page. The final appearance 
> would be quite unpredictable...

But is it possible to indicate to Apache such an 
application which he would run every time a page is 
requested?

> 
> One workaround might be to serve up all content inside a 
> frameset and have your banner in the top frame. But that 
> would be really horrible website :-(

That is just the second chance, to use a frames. All page 
requests (excluded images, audio, etc.) go to a PHP script 
except the ones starting with my domain. And set the page 
frame to get it through reverse proxy with authentication.
By the way, how do i set all domains, execpt mine, to be 
served through reverse proxy?

I only have approx. 3 weeks to finish this thing! So i'm 
desperatly looking for a soluton...

Regards,
Rafael

> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may 
> be ignored.  
> 
> >
> >Thanks anyway! Any help or sugestions apreciated.
> >
> >> 
> >> Rgds,
> >> Owen Boyle
> >> Disclaimer: Any disclaimer attached to this message may 
> >> be ignored. 
> >> 
> >> >
> >> >PLEASE HELP ME! Any help or sugestions apreciated.
> >> >
> >> >----------------------------------------------------
> >> >António Rafael C. Paiva
> >> >Electronics and Telecommunications Dep.
> >> >Aveiro University
> >> >

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message