mod_rewrite subdomain problem
Posted by: rezo
Posted on: 2006-12-20 23:33:00
After moving to DreamHost, only thing which is not working is subdomain referring mod_rewrite in htaccess.
Its something like that:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^.htaccess$ - [F]
RewriteCond %{HTTP_HOST} ^([^.]+).seyvet.com [NC]
RewriteRule .* /home/[USERNAME]/DOMAIN.com/profile.php?id=%1 [L]
</IfModule>
With this, every site member has a unique profile page automatically without adding subdomain from control panel by hand.
It was working with the old server. But its not working on DreamHost.
Anyone can help?