----- "Michelle Konzack" <linux4michelle@xxxxxxxxxxxxxxx> wrote: > Hello Joost de Heer, > > Am 2011-01-03 08:58:06, hacktest Du folgendes herunter: > > > RewriteCond /home/$1 -d > > > RewriteRule ^/([^/]+)/(.*) /home/$1/public_html/$2 > > > <snip> > > [R=301] behind the RewriteRule. > > This does not work. > While > <http://www.home.tamay-dogan.net/~michelle.konzack> > > is working, the following two are not: > > <http://www.home.tamay-dogan.net/michelle.konzack> > <http://www.home.tamay-dogan.net/michelle.konzack/> > > the second on give a > 404 Not Found > > <http://www.home.tamay-dogan.net/home/michelle.konzack/public_html/> > > > > 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] > > Rewrite rules aren't inherited automatically, you need > 'RewriteOptions > > inherit' in your vhost. > > Tried this but it does not work. Otherwise, it would show the > same > content as: > <http://www.home.tamay-dogan.net/~michelle.konzack> > <http://www.home.tamay-dogan.net/michelle.konzack> > but > <http://michelle.konzack.home.tamay-dogan.net/> > > is not working and I see the page of my non-configured Intranet > Server. > > > RewriteLog and RewriteLogLevel are useful too. > > I have put it in the httpd.conf and see only rewite rules for the > TILDE > stuff but not the dynamic homepages. They seems to be ignored. How are these dynamic homepage vhosts(?) generated? Separate vhost each? VHosting via mod_rewrite *shudder* mod_vhost_alias? RewriteRules are not inherited by default. This can only be done via RewriteOptions inherit in the child context. > > Joost > > Thanks, Greetings and nice Day/Evening > Michelle Konzack > > -- > ##################### Debian GNU/Linux Consultant > ###################### > Development of Intranet and Embedded Systems with Debian GNU/Linux > > itsystems@tdnet France EURL itsystems@tdnet UG (limited > liability) > Owner Michelle Konzack Owner Michelle Konzack > > Apt. 917 (homeoffice) > 50, rue de Soultz KinzigstraÃe 17 > 67100 Strasbourg/France 77694 Kehl/Germany > Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil > Tel: +33-9-52705884 fix > > <http://www.itsystems.tamay-dogan.net/> > <http://www.flexray4linux.org/> > <http://www.debian.tamay-dogan.net/> > <http://www.can4linux.org/> > > Jabber linux4michelle@xxxxxxxxxxxxx > ICQ #328449886 > > Linux-User #280138 with the Linux Counter, http://counter.li.org/ -- Igor GaliÄ Tel: +43 (0) 664 886 22 883 Mail: i.galic@xxxxxxxxxxxxxx URL: http://brainsware.org/ --------------------------------------------------------------------- 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