View Single Post
  #2  
Old 3rd February 2011, 11:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,687
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

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

or

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 ispconfig.org.
Reply With Quote