httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jericho escobar" <shinji_ik...@mail.com>
Subject Re: [users@httpd] Apache module to modify content
Date Fri, 09 Sep 2005 08:33:06 GMT
Thank you all for the response. I'm particularly interested in the proxy response idea that
was proposed earlier.

I'm not necessarily looking for help to write the module just need to know if its possible
and/or if there are other ways to do it other than a module or a filter.

Kind regards,

~j


----- Original Message -----
From: "Eimantas Vaičiūnas" <eimantas@unit.lt>
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache module to modify content
Date: Fri, 09 Sep 2005 10:41:44 +0300

> 
> I think apache module developers has their own mailing-list.
> 
> jericho escobar wrote:
> > Dear Apache Gurus,
> >
> > This is my first post and I'm hoping that this is the write place 
> > to ask this question. I've read the FAQ on 
> > http://www.catb.org/~esr/faqs/smart-questions.html and googled a 
> > bit before resorting to the mailing list. Here is the question.
> >
> > I have the following html file.
> > <html><body><img src="/testme/find.jpg"></body></html>
> >
> > I would like to write an Apache module that will parse this file 
> > and send the following to the browser:
> >
> > <html><body><img src="http://imageserver/testme/find.jpg"></body></html>
> >
> > I basically want to modify the server response before sending it 
> > back to the client.
> >
> > Is this doable by creating an apache module or can someone please 
> > recommend a better way to do this? I've tried rewriting the 
> > request using RewriteRules but I would prefer to rewrite the URL 
> > on the fly before serving it out.
> >
> > I've gone through the mod_include source code (for SSIs) and I'm 
> > thinking that this is one way I can do the work but wanted to 
> > check with the list to see if anybody had better ideas
> >
> > Thank you in advance.
> >
> > ~j
> 
> 
> ---------------------------------------------------------------------
> 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


-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


---------------------------------------------------------------------
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