[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Personal Web Sites on Raq4R
- Subject: Re: [cobalt-users] Personal Web Sites on Raq4R
- From: Mailing Lists <listonly@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue Aug 13 07:04:35 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
on 8/13/02 8:06 AM, William J.A. Brillinger stated:
>> on 8/13/02 7:03 AM, Herby K stated:
>>
>>> keep on asking until I have an answer
>>>
>>> Herby
>>
>> Not sure what you are asking for, but on a Raq3 you can do;
>>
>> Dave
>
> Not on the raq4 though.
> He's looking for the rewrite rule for www.domain.com/users/bob from
> httpd.conf on the raq 3 so he can make it work on the raq4.
>
> Since you have a raq3, you could perhaps have a look?
>
> - Bill
>
<VirtualHost 11.111.11.11>
ServerName sub.domain.com
ServerAdmin admin
DocumentRoot /home/sites/site30/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^11.111.11.11(:80)?$
RewriteCond %{HTTP_HOST} !^sub.domain.com(:80)?$
RewriteRule ^/(.*) http://sub.domain.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site30/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site30/users/$1/web/$3
</VirtualHost>
Here you go:)
Dave