Hello, while following script which remove the TILDE is working ----[ '/srv/APACHE_enabled/samba3.private.tamay-dogan.net' ]------------ <VirtualHost 192.168.0.69:80> ServerName samba3.private.tamay-dogan.net <snip> RewriteEngine On 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, I have problems remaping the "public_home" directories to dynamic sites using ----[ '/srv/APACHE_conf.d/10_dynamic_virtual_hosts' ]------------------- ######################################################################## # # http://wiki.apache.org/httpd/RewriteVhosts # # Dynamic virtual hosts # # You want to have each user on your system automatically have # username.domain.com mapped to their home directory. # ######################################################################## 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? 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 Linux-User #280138 with the Linux Counter, http://counter.li.org/
Attachment:
signature.pgp
Description: Digital signature