Re: mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krist ,
Thank you for your reply.
Yes, that is what I meant .
To map  /Image/My-Image.jpg/1234
    to
  /Media/1234.jpg
But I do not know how,when it is a part of HTML.
Do you have any idea?
Thanks.
Lad.


> On Nov 22, 2007 4:56 PM,  <export@xxxxxxx> wrote:
> > Hi,
> > I would like to
> > rewrite
> > <img src="">
> >
> > into
> > <img src="">
> >
> > 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
>
>
> --
> krist.vanbesien@xxxxxxxxx
> krist@xxxxxxxxxxxxx
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux