You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Godrej <ja...@yahoo.in> on 2011/02/17 20:30:41 UTC

[users@httpd] no log of reverse proxy

I am having a Ubuntu server apache2.conf has


LogFormat "%v:%p %{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" 
\"%{User-Agent}i\"" vhost_combined
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined

and this is my apache2 vhost

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

         ServerName something
        ProxyRequests off
        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>

        ProxyPreserveHost Off


        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
  ErrorLog /var/log/apache2/error.log


        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
</VirtualHost>
This apache2 vhost file is on the machine which is on LAN behind a reverse proxy
I am not seeing any logs for requests that come forwarded via a reverse proxy 
in 
/var/log/apache2/access.log
and the entries in
/var/log/apache2/other_vhosts_access.log
are blank

what have I missed in above why I am not getting IPs coming behind the reverse 
proxy server.



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org