[development] htaccess help

Lynn Stott (Stott Design) lynn at stottdesign.com
Mon Nov 15 15:23:49 UTC 2010

I have a Drupal site installed at /bv, so home page is www.mysite.com/bv
I want to be sure when anyone tries www.mysite.com/anypage, they get  
redirected to www.mysite.com/bv/anypage
Is this possible via htaccess?

I currently have this rewrite to be sure the www is included (needed  
for SSL):
    RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
    RewriteRule ^(.*)$ http://www. mysite.com/bv/$1 [L,R=301]

Thanks for any help.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101115/40f7d554/attachment.html 

More information about the development mailing list