LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache access_log woes (https://www.linuxquestions.org/questions/linux-software-2/apache-access_log-woes-149493/)

thew00t 02-23-2004 06:56 AM

apache access_log woes
 
Hello all, i'm a bit lost on the apache logfile thing and i hope this is the right place to be askinga question on it. In my access_logs it always says the IP of a visitor is 192.168.0.1 even when i know its not local. Now I'm sure this is because my linux box goes thru my win2k3 server box. Here is my setup:


[Internet]------------------|
|---[Windows server 2003] -|------->192.168.0.1/%internet address% (2 nics)
|---[Slackware 9, apache] ---------->192.168.0.115
|---[BSD]
|---[Win XP Laptop]

is there any way i can get the correct remote IP to the linux box?

:Pengy:

hw-tph 02-23-2004 07:26 AM

I assume this has to do with the setup on your Windows 2003 system, since requests pass through this host (if I interpreted your setup correctly). Make sure it does not rewrite packets - sender address, specifically...but I have no idea on how this is done. Never even touched Windows 2003. :o


Håkan


All times are GMT -5. The time now is 11:07 PM.