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.

On Sat, Mar 17, 2012 at 3:09 PM, Igor Cicimov <[email protected]> wrote:

> Correction
>
>
> RewriteCond %{HTTP_HOST} ^(.*)\.(.*)\.com$
> RewriteRule ^/(.*) /%2/%1/$1 [P,L]
>
>

Reply via email to