httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50262] New: mod_rewrite log ip address vs hostname
Date Fri, 12 Nov 2010 18:00:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50262

           Summary: mod_rewrite log ip address vs hostname
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sishkarov@gmail.com


sorry for my english

my httpd.conf
-------------
Listen 80

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule log_config_module modules/mod_log_config.so

HostNameLookups On
CustomLog customlog.txt "%h"

RewriteEngine On
RewriteRule /old.html /new.html

RewriteLog rewrite.log
RewriteLogLevel 9


bug
---
with ip address in rewrite.log

1) if press F5 in browser very often (about 5 time or more at second) then

rewrite.log

localhost - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (2) init rewrite engine with
requested uri /old.html
localhost - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (3) applying pattern '/old.html' to
uri '/old.html'
localhost - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (2) rewrite '/old.html' ->
'/new.html' 
...

2) else

127.0.0.1 - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (2) init rewrite engine with
requested uri /old.html
127.0.0.1 - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (3) applying pattern '/old.html' to
uri '/old.html'
127.0.0.1 - - [22/Oct/2010:15:40:59 +0400]
[localhost/sid#965148][rid#9b7ae0/initial] (2) rewrite '/old.html' ->
'/new.html' 
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message