www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: mod_rewrite/3350: the mod_rewrite has no reaction
Date Fri, 06 Nov 1998 17:10:01 GMT
The following reply was made to PR mod_rewrite/3350; it has been noted by GNATS.

From: Marc Slemko <marcs@znep.com>
To: alex <alexngan@mail.citylink.com.au>
Cc: apbugs@hyperreal.org
Subject: Re: mod_rewrite/3350: the mod_rewrite has no reaction
Date: Fri, 6 Nov 1998 08:42:41 -0800 (PST)

 On 6 Nov 1998, alex wrote:
 
 > <VirtualHost 203.35.28.197>
 > DocumentRoot "e:/user/1"
 > ServerName www.mydomain.com
 > RewriteEngine on
 > RewriteCond %{HTTP_HOST}	^www\.[^.]+\.mydomain\.com$
 
 Please try a simpler rewrite to see if it works at all.
 
 > RewriteRule	^(.+)		%{HTPP_HOST}$1	[C]
 > RewriteRule	^www\.([^.]+)\.mydomain\.com(.*)	/users/$1$2
 > RewriteLog logs/rewirte.log
 > RewriteLogLevel 9
 > </VirtualHost>
 > >How-To-Repeat:
 > I want to redirect the url http://www.myuser.mydomain.com to my local hard disk e:/user/1/users/myuser/index.html.
 > 
 > But the mod_rewrite is not working. When I type the http://www.myuser.mydomain.com it
just show up the e:/user/1/index.html to me.
 > 
 > I view the rewrite log , it has logged nothing.
 
 You have it set to log to rewirte.log.
 

Mime
View raw message