The following reply was made to PR mod_rewrite/3350; it has been noted by GNATS.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        Marc Slemko <[EMAIL PROTECTED]>
Cc:  Subject: Re: mod_rewrite/3350: the mod_rewrite has no reaction
Date: Sat, 07 Nov 1998 10:27:30 +1100

 Marc Slemko>>>>> Please try a simpler rewrite to see if it works at all.
 
 I have used a simpler rewrite but the apache seems not works at all, I
 use the netscape gold 3 to test the reasult
 (http://www.mydomain.com/foo.html) , it still shows me the foo.html at
 e:/apache/users/foo.html. :(
 
 Now lets look at my config file and log files at nt4 apache 1.3.3.
 
 It seems two problems there, first in the rewrite.log it shows the
 rewrite_mod has did somethings, it has found the /foo.html and try to
 rewrite it, but it has just pass through to the initial uri /foo.html it
 should be pass through to fool.31.html. Same thing happened at querys
 fooabc.html and fool.52.html.
 
 Also the access.log has problems too, HTTP/1.0 ???? I am using the
 netscape gold 3 ??? It should be HTTP/1.1 enabled.
 
 ============httpd.conf================
 ...
 ...
 NameVirtualHost 203.200.200.100
 <VirtualHost 203.200.200.100>
 DocumentRoot "e:/apache/users/"
 servername www.mydomain.com
 RewriteEngine on
 RewriteRule    ^foo\.html$             foo.31.html
 RewriteLog Logs/Rewrite.log
 RewriteLogLevel 9
 </VirtualHost>
 
 ===========Rewrite.log=================
 
 #Now I try http://www.mydomain.com/foo.html, 
 #apache rewrite my URL to http://www.mydomain.com/foo.html(no change).
 
 203.200.200.200 - - [07/Nov/1998:10:10:09 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (2) init rewrite engine with requested uri /foo.html
 203.200.200.200 - - [07/Nov/1998:10:10:09 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (3) applying pattern '^foo\.html$' to uri '/foo.html'
 203.200.200.200 - - [07/Nov/1998:10:10:09 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (1) pass through /foo.html
 
 #Now I try http://www.mydomain.com/fooabc.html, 
 #apache rewrite my URL to http://www.mydomain.com/fooabc.html(no
 change).
 
 203.200.200.200 - - [07/Nov/1998:10:10:15 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (2) init rewrite engine with requested uri /fooabc.html
 203.200.200.200 - - [07/Nov/1998:10:10:15 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (3) applying pattern '^foo\.html$' to uri '/fooabc.html'
 203.200.200.200 - - [07/Nov/1998:10:10:15 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (1) pass through /fooabc.html
 
 #Now I try http://www.mydomain.com/foo.52.html, 
 #apache rewrite my URL to http://www.mydomain.com/foo.52.html(no
 change).
 
 203.200.200.200 - - [07/Nov/1998:10:11:39 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (2) init rewrite engine with requested uri /foo.52.html
 203.200.200.200 - - [07/Nov/1998:10:11:39 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (3) applying pattern '^foo\.html$' to uri '/foo.52.html'
 203.200.200.200 - - [07/Nov/1998:10:11:39 +1100]
 [www.mydomain.com/sid#7c9fe0][rid#c671b0/initial] 
 (1) pass through /foo.52.html
 
 
 ============Access.log================
 203.200.200.200 - - [07/Nov/1998:10:10:09 +1100] "GET /foo.html
 HTTP/1.0" 200 25
 203.200.200.200 - - [07/Nov/1998:10:10:15 +1100] "GET /fooabc.html
 HTTP/1.0" 404 277
 203.200.200.200 - - [07/Nov/1998:10:11:39 +1100] "GET /foo.52.html
 HTTP/1.0" 404 277
 
 
 If you need more infomations, please contact me. Thanks for the help.
 
 Regards
 Alex

Reply via email to