httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Issue with trailing slashes after rewrite
Date Sun, 18 Mar 2012 22:16:31 GMT
On Sun, Mar 18, 2012 at 5:56 PM, Nala Gnirut <nala.gnirut@gmail.com> wrote:
> After adapting to my folder structure it should look like
>
> RewriteCond %{HTTP_HOST} ^(.*)\.(.*)\.(.*)$
> RewriteRule ^/(.*) /%1/$1 [P]
>
> Unfortunately neither your original suggestion nor my version seem to cause
> any redirection.

The P flag is explicitly used to proxy. If you want to redirect,
substitute a full URL and use the R flag instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message