Re: beginner's mod_rewrite recursion problem

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

 



Try this one

RewriteRule ^/frobooz/(.*) /foo/bar/$1 [L]

Cheers,

Igor

On Wed, May 6, 2009 at 1:49 AM, André Warnier <aw@xxxxxxxxxx> wrote:
Kynn Jones wrote:
...

Hi.
The best way to understand what is at stake here is to get yourself a Firefox extension like HttpFox, activate it, and then get your page from the server.
Then look in the HttpFox window what your /browser/ is actually asking from the server.

The key part to understand, is that the browser never sends a request to the server for "../../file.img".
It is the browser which interprets these relative links (relative to where it got the current page from), and transforms them to make them "absolute", before requesting the object from the server.
Once you really understand that (which is easier when you look at the result in HttpFox), then what you need to do will become much much clearer.



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



[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