Information Services Talk
Information Services Talk
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't obtain client's IP address

 
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Apr 03, 2007 6:50 pm    Post subject: Can't obtain client's IP address Reply with quote

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.
Back to top
  Ads
Advertising
Sponsor


Purl Gurl
Guest





PostPosted: Tue Apr 03, 2007 10:49 pm    Post subject: Re: Can't obtain client's IP address Reply with quote

ao_hueap wrote:

(snipped)


Quote:
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
Back to top
  Ads
Advertising
Sponsor


Guest






PostPosted: Wed Apr 04, 2007 7:30 pm    Post subject: Re: Can't obtain client's IP address Reply with quote

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
Back to top
  Ads
Advertising
Sponsor


Purl Gurl
Guest





PostPosted: Wed Apr 04, 2007 10:35 pm    Post subject: Re: Can't obtain client's IP address Reply with quote

ao_hueap wrote:

(snipped)

Quote:
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/users@httpd.apache.org/msg18378.html


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


Purl Gurl
Back to top
  Ads
Advertising
Sponsor


Guest






PostPosted: Fri Apr 06, 2007 4:52 am    Post subject: Re: Can't obtain client's IP address Reply with quote

Purl Gurl $B$N%a%C%;!<%8(B:


Quote:
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/users@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
Back to top
  Ads
Advertising
Sponsor


Display posts from previous:   
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Board Security

80 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group