httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <>
Subject [users@httpd] VirtualHost configuration and REMOTE_ADDR variable
Date Mon, 08 Aug 2011 11:36:54 GMT
Dear users

I have following virtual host configuration (apache 2.2.19) in file
<VirtualHost *:443>
        SSLEngine on
        SSLProxyEngine on
        ServerName portal
        ProxyRequests off
        #ProxyPreserveHost on
        TraceEnable off
        <Location "/" >


ServerName my_web
SSLEngine on
SSLProxyEngine on
#ProxyPreserveHost on
ProxyRequests Off
TraceEnable Off

DocumentRoot "/srv/www/htdocs/application/cgi-bin/index.cgi"


IP address of the apache real web server is and on the
https my_web page (in section
is index.cgi file is mentioned variable REMOTE_ADDR.
But when I go to the index.cgi page then REMOTE_ADDR is fill up with instead of
Where I have made mistake in apache2 configuration?

Value is gather in CGI (Perl) script by $ENV{'REMOTE_ADDR'}.

Thank you in advance
Best Regards / S pozdravem
Petr Hracek

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message