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

-- 
___________________________________________________________
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to