Re: [users@httpd] VirtualHost configuration and REMOTE_ADDR variable

2011-08-08 Thread Petr Hracek
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 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 ha

Re: [users@httpd] VirtualHost configuration and REMOTE_ADDR variable

2011-08-08 Thread Eric Covener
> 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

[users@httpd] VirtualHost configuration and REMOTE_ADDR variable

2011-08-08 Thread Petr Hracek
Dear users I have following virtual host configuration (apache 2.2.19) in file /etc/apache2/vhosts.d/vhost-my.conf: SSLEngine on SSLProxyEngine on ServerName portal ProxyRequests off #ProxyPreserveHost on TraceEnable off ProxyPa