Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't obtain client's IP address

1 view
Skip to first unread message

ao_h...@excite.co.jp

unread,
Apr 3, 2007, 9:50:25 AM4/3/07
to abeo...@asa.hokkyodai.ac.jp
I installed apache_2.2.4-win32-x86-openssl-0.9.8d.msi on Windows
2000+sp.4.
After installation, it worked quite well, superficially. But, "Allow"
directive did not work well. I checked log files and found that
apache could not obtain the IP address of client. A few lines of
access.log are:

0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/up_g.gif HTTP/
1.1" 404 9
0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/prev_g.gif HTTP/
1.1" 404 9
0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/contents.gif HTTP/
1.1" 404 9

It would be greatly appreciated if the solution could be taught.
Thanks.

Purl Gurl

unread,
Apr 3, 2007, 1:49:30 PM4/3/07
to
ao_hueap wrote:

(snipped)


> I installed apache_2.2.4

> After installation, it worked quite well, superficially. But, "Allow"
> directive did not work well. I checked log files and found that
> apache could not obtain the IP address of client. A few lines of
> access.log are:

> 0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/up_g.gif HTTP/
> 1.1" 404 9

0.0.0.0 is typically an IP address of a transparent device,
such as a firewall, internal machine firewall and some routers.

If you are running mod_proxy and a proxy server, disable those.

Test your system using a browser and this URL address,

http://127.0.0.1/icons/up_g.gif

You may also try this URL address,

http://127.0.0.1/

This should return index.html or index.htm on your system
under your htdocs directory.


Afterwards, check your log for an IP address for this access.
Your discovered IP address should be 127.0.0.1 which verifies
Apache is working correctly.

If this is successful, test with this URL address,

http://localhost/

This will verify your machine DNS lookup is working correctly.
Log entry should again display 127.0.0.1 for an ip address.


Check your machine ip address configuration. You should be
using a static ip address, listed dns servers, a static
gateway address if using a router and WINS disabled.

START -> SETTINGS -> NETWORK CONNECTIONS -> LOCAL AREA CONNECTION

(or similar on your machine)

Check your various settings found in that section. Do not change
any settings unless you know precisely what to change. Making
a mistake on those settings can cause serious problems.

Google will provide ample background information on those settings.


Purl Gurl

ao_h...@excite.co.jp

unread,
Apr 4, 2007, 10:30:01 AM4/4/07
to
Dear Purl:

Thank you very much for your quick reply.
But, I am still in trouble. Before I installed Apache 2.2.4,
I have used Apache 2.0.50. That time Apache could obtain IP
address of client, correctly. I would like to emphasize that
Apache works well except for obtaining IP address. Please try
to browse
http://202.252.174.22
which is the IP address of my computer or
http://www.phys.asa.hokkyodai.ac.jp
which is the URL address of my computer.

But access.log tell me that your IP address is 0.0.0.0!

Regards,
ABE, Osamu


Purl Gurl

unread,
Apr 4, 2007, 1:35:38 PM4/4/07
to
ao_hueap wrote:

(snipped)

> But, I am still in trouble. Before I installed Apache 2.2.4,
> I have used Apache 2.0.50. That time Apache could obtain IP
> address of client, correctly. I would like to emphasize that
> Apache works well except for obtaining IP address. Please try
> to browse

> http://202.252.174.22

> http://www.phys.asa.hokkyodai.ac.jp

> But access.log tell me that your IP address is 0.0.0.0!

I was able to access your server without any problems.

Being able to access your server from the internet indicates
your server is functioning correctly. This eliminates any
configuration problems. Now you can address a specific problem
which is inherent to a Windows 2000 system.


Related to access log entries 0.0.0.0 are these,

"To use the workaround, put the Apache directive Win32DisableAcceptEx
in your httpd.conf file."

http://www.apachelounge.com/forum/viewtopic.php?p=5920


"its all one word. and the word is win32disableacceptex
Thank you! It is working now."

http://www.mail-archive.com/us...@httpd.apache.org/msg18378.html


http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html#win32disableacceptex


Purl Gurl

ao_h...@excite.co.jp

unread,
Apr 5, 2007, 7:52:40 PM4/5/07
to

Purl Gurl のメッセージ:


> Related to access log entries 0.0.0.0 are these,
>
> "To use the workaround, put the Apache directive Win32DisableAcceptEx
> in your httpd.conf file."
>
> http://www.apachelounge.com/forum/viewtopic.php?p=5920
>
>
> "its all one word. and the word is win32disableacceptex
> Thank you! It is working now."
>
> http://www.mail-archive.com/us...@httpd.apache.org/msg18378.html
>
>
> http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html#win32disableacceptex
>
>
> Purl Gurl

Dear Purl:
Thanks lots for informations. Yes, the problem was completely solved.

Best regards, ABE, Osamu

0 new messages