httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: mod_rewrite and apache
Date Tue, 15 Jan 2002 01:18:28 GMT

> From: Erik Parker []

> Well, it comes down to a few things.. I don't want to use the "P" flag,
> because I don't want that apache instance to serve the images at all.. I
> want it to actually rewrite the code it serves to the client.. So a
> reference to:
> <img src="/images/foo.jpg"> is re-written as <img
> src="">

Can't be done with any standard Apache module.  You want apache to scan
through each document as it is served and do a search/replace.  Mod_rewrite
acts only on the URL that is actually requested, not on the document


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message