> RewriteCond /home/$1 -d > RewriteRule ^/([^/]+)/(.*) /home/$1/public_html/$2 > <snip> > > </VirtualHost> > ------------------------------------------------------------------------ > > except I like to have a "RedirectMatch 301 ..." which I do not know how > it works, [R=301] behind the RewriteRule. > RewriteEngine On > > # Skip www\.home\.tamay-dogan\.net > RewriteCond %{HTTP_HOST} !^www\. > > RewriteCond %{HTTP_HOST} ^([^.]+)\.home\.tamay-dogan\.net > RewriteRule ^/(.*)$ /home/%1/public_html/$1 [L] > ------------------------------------------------------------------------ > > I am landing every time on the default VHost from the Server which is > not configured. However, the VHost <http://www.home.tamay-dogan.net/> > is working. > > Why does the rest not become remaped? Rewrite rules aren't inherited automatically, you need 'RewriteOptions inherit' in your vhost. RewriteLog and RewriteLogLevel are useful too. Joost --------------------------------------------------------------------- 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