how to let apache change a webpage content?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > how to let apache change a webpage content?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    how to let apache change a webpage content?  
rabbit_guai@hotmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-06 12:15 PM

Hey everybody. this is my first post here. wish to see reponses from
you experts.

I am new to linux, proxy, apache these stuffs.

I have a rough idea of how proxy server works. It first receives a
request from a client, then fetches the file the client requests, then
sends it back to the client.

What I need to do is that before the file (webpage, be specific) is
sent back to the client, I want to modify the page (eg, change some
links in the page, add some words). How to do this? I know it's
something Apache is in charge of. And it seems some programming is
needed.

Could anyone tell me how to do this? How and where do I change apache
source code?






[ Post a follow-up to this message ]



    Re: how to let apache change a webpage content?  
Nick Kew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-06 12:15 PM

rabbit_guai@hotmail.com wrote:

> What I need to do is that before the file (webpage, be specific) is
> sent back to the client, I want to modify the page (eg, change some
> links in the page, add some words). How to do this? I know it's
> something Apache is in charge of. And it seems some programming is
> needed.

You use a filter.

See http://apache.webthing.com/ for a number of examples, and
in particular my presentation slides on exactly this subject
at http://apache.webthing.com/filter.pdf .

--
Nick Kew





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:25 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register