You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/05/09 23:35:05 UTC

DO NOT REPLY [Bug 42372] New: - Apache doesn't recognise client IP-address

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42372

           Summary: Apache doesn't recognise client IP-address
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vital@mazur.odessa.ua


I have Apache 2.2.4 installed on w2k SP4 (all current MS updates)

No VirtualHosts configured, Listen *:80 directive presents in httpd.conf.

There is two network interfaces - one with real IP and other - 192.168.0.1.

Problem is:
Apache does not recognise IP of connected client. In the access.log file all 
records are like 
'0.0.0.0 - - [09/May/2007:17:31:16 +0300] "GET /favicon.ico HTTP/1.1" 404 209 
"http://localhost/" "Opera/9.20 (Windows NT 5.0; U; ru)"

Client's IP are _ALWAYS_ 0.0.0.0, regardless of from what interface request 
occurs.

I've try change Listen *:80 to

Listen 0.0.0.0:80 and Listen 80 - no changes
Listen 192.168.0.1:80 - no changes, but works internal interface only
Listen <real external IP>:80 - no changes, but works external interface only
Listen 127.0.0.1:80 - heh, no changes, but works local browser only

So, regardless of Listen directive, Apache cannot determine client's IP.

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

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


DO NOT REPLY [Bug 42372] - Apache doesn't recognise client IP-address

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42372


slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From slive@apache.org  2007-05-10 07:09 -------
See: http://wiki.apache.org/httpd/Platform/Windows

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

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


DO NOT REPLY [Bug 42372] - Apache doesn't recognise client IP-address

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42372





------- Additional Comments From vital@mazur.odessa.ua  2007-05-10 10:24 -------
Thank You! It works!

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

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