[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Apache mod rewrite help
- From: sixx <xyz neoscene com>
- To: redhat-list redhat com
- Subject: Apache mod rewrite help
- Date: Wed Apr 30 06:36:03 2003
Been stuck at this mod rewrite recipe for quite a while and was wondering if
anyone could help out.
What I hope to achieve is for www.user.host.com to be redirected to
www.host.com/~user/
The mod rewrite recipe suggested the following
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.[^.]+\.host\.com$
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^www\.([^.]+)\.host\.com(.*) /home/$1$2
But it doesn't work even I tried it out, could someone point out where's the
error ?
I've stopped 646 spam messages. You can too!
Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]