Re: VirtualHost configuration and REMOTE_ADDR variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you.

I have found that problem in script was with using REMOTE_ADDR
variable instead of
HTTP_X_FORWARDED_FOR variable.

Dne 8. srpna 2011 13:59 Eric Covener <covener@xxxxxxxxx> napsal(a):
>> But when I go to the index.cgi page then REMOTE_ADDR is fill up with
>> 127.0.0.1 instead of 192.168.0.10.
>> Where I have made mistake in apache2 configuration?
>
> When the proxy makes a connection to 127.0.0.1, your OS implicitly
> assigns a local address of 127.0.0.1 for the "outgoing" side of that
> connection.  There are some uncommitted patches to allow selection of
> a source address for outgoing proxy connections.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>



-- 
Best Regards / S pozdravem
Petr Hracek

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux