| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Apr 03, 2007 6:50 pm Post subject: Can't obtain client's IP address |
|
|
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
|
Posted: Tue Apr 03, 2007 10:49 pm Post subject: Re: Can't obtain client's IP address |
|
|
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
|
Posted: Wed Apr 04, 2007 7:30 pm Post subject: Re: Can't obtain client's IP address |
|
|
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
|
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
Guest
|
Posted: Fri Apr 06, 2007 4:52 am Post subject: Re: Can't obtain client's IP address |
|
|
Purl Gurl $B$N%a%C%;!<%8(B:
Dear Purl:
Thanks lots for informations. Yes, the problem was completely solved.
Best regards, ABE, Osamu |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
|
|
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
|

80 Attacks blocked
Powered by phpBB © 2001, 2005 phpBB Group
|