__/ [ z ] on Thursday 05 October 2006 22:37 \__
> z wrote:
>
>> I'm having trouble redirecting a site.
>>
>> Domain #1 has a directory called /design. I want to redirect only that
>> directory to the root of Domain #2.
>>
>> What am I doing wrong?
>>
>> RewriteEngine On
>> RewriteRule /design/(.*) http://www.example.com/$1 [R=301,L]
>>
>> I'm also going to need another rule that redirect a second directory to
>> the root of Domain #3.
>
> Nevermind... I'm so tired I can't think.
>
> (put .htaccess directly in subdirectory)
I am sometimes puzzled as I find that many folks (John Bokma included) still
configure their Web server at file-level rather than use a front-end. And
yes, I'm aware of the fact that many hosts don't offer that option.
Roy (who is not all that familiar with Apache config files *grin*)
|
|