[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re: Using username.domainname.com
- Subject: Re: [cobalt-users] Re: Using username.domainname.com
- From: Zhang Shiping <zhangshiping@xxxxxxxxx>
- Date: Tue Apr 16 09:11:40 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> In httpd.conf:
>
> <VirtualHost 208.147.154.56>
> ServerName nobody.home.hiwaay.net
> ServerAlias *.home.hiwaay.net
> RewriteEngine on
> RewriteCond %{HTTP:Host} nobody\.home\.hiwaay\.net
> [NC]
> RewriteRule /*(.*) http://home.hiwaay.net/$1
> [R=301,L]
> RewriteCond %{HTTP:Host} (..*)\.home\.hiwaay\.net
> [NC]
> RewriteRule /*(.*) http://home.hiwaay.net/~%1/$1
> [R=301,L]
> RewriteRule .* http://www.hiwaay.net/ [R=301,L]
> </VirtualHost>
>
> That allows my users to go to
> http://<user>.home.hiwaay.net/ and get
> automatically redirected to
> http://home.hiwaay.net/~<user>/.
Thank you so much Chris. It works. But the browser
Address Box will change from <user>.mydomain.com to
www.mydomain.com/~<user>
I still like <user>.mydomain.com remains in the
Address Box of the brwoser.
Best regards,
Stanley
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/