On Nov 22, 2007 4:56 PM,  <[EMAIL PROTECTED]> wrote:
> Hi,
> I would like to
> rewrite
> <img src="/Image/My-Image.jpg/1234">
>
> into
> <img src="/Media/1234.jpg">
>
> Is that possible to do so  with mod_rewrite ?

Short Answer: No.

Long Answer: Mod rewrite is used to change incoming request URLs. You
can't use mod rewrite the change the content of the html files send to
the client. You can however use mod_rewrite so that when a request
comes for /Image/My-Image.jpg/1234 this is mapped /Media/1234.jpg

Krist


-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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