View Single Post
Old 3rd February 2011, 12:24
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,659 Times in 4,466 Posts

1) Where is the .htaccess file? is it var/www/clients/client2/web7/web/.htaccess ?

2) The rwrite conditions are wrong, you missed to mask the dots of the tld. It has to be:

RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
RewriteCond %{HTTP_HOST} ([^.]+)\.mydomain\.com

3) The rewrite path seems to be wrong, try:

RewriteRule ^(.*)$ _DEV/virtual_subdom.php?user=%1


RewriteRule ^(.*)$ /_DEV/virtual_subdom.php?user=%1

4) Remove the lines:

Options All
AllowOverride All
Order allow,deny
Allow from all

from the apache directives field.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote