[development] htaccess help

Ryan LeTulle bayousoft at gmail.com
Mon Nov 15 15:31:16 UTC 2010


I may not totally understand your question but why don't you set your
DocumentRoot to point into that folder?

*DocumentRoot "/path/to/bv"*


Ryan LeTulle

bayousoft.com <http://www.bayousoft.com>
twitter.com/bayousoft <http://www.twitter.com/bayousoft>





On Mon, Nov 15, 2010 at 9:23 AM, Lynn Stott (Stott Design) <
lynn at stottdesign.com> wrote:

> 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.
>
> Lynn
>
> *
> *
>
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20101115/897b56f7/attachment.html 


More information about the development mailing list