httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] beginner's mod_rewrite recursion problem
Date Wed, 06 May 2009 22:57:34 GMT
Try this one

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

Cheers,

Igor

On Wed, May 6, 2009 at 1:49 AM, André Warnier <aw@ice-sa.com> 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@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message