First off the web server is still in the 1.3's somewhere, not sure where, just that it's not 2.0
I have it setup so that
http://gallery.vrillusions.com/ goes to
http://www.vrillusions.com/ That's setup in DNS and no problems. What I want to do is have it so that if someone goes to
http://gallery.vrillusions.com/ it redirects them to
http://www.vrillusions.com/gallery/ while keeping gallery.vrillusions.com in the address bar. This seemed like a prime candidate for mod_rewrite and I thought it would be easy, but I've spent the last two hours on this and not having much luck. Here is what I have so far:
Code:
#gallery.vrillusions.com mirror
RewriteCond %{HTTP_HOST} ^.*gallery.vrillusions.com.*$ [NC]
RewriteRule ^.*gallery\.vrillusions\.com/(.*)$ http://www.vrillusions.com/gallery/$1
When I go to that page, I just get the main vrillusions.com page. BTW, the RewriteEngine On statement is further up the .htaccess file since I also have some anti-image-stealing stuff in there. Any help would be appreciated. Thanks.