Public bug reported:

I have my apache installation setup behind an nginx reverse proxy.  When
I try to use the access controls(for example in an htaccess file) to
allow/deny by ip address, apache only sees the proxy's ip.  A php script
sees the remote_addr variable set correctly however.

I downloaded the version from 12.10(libapache2-mod-rpaf_0.6-7),
installed it, and now everything works as expected.  I'd love if the fix
for this could make it into 12.04, since I try to stick to only packages
I can get from the official repos.  The 0.6-7 version also seems to fix
#930540 (Mismatching module name in .conf for libapache2-mod-rpaf 0.6-2)

What I expected to happen:
The ip address of the client to be used in access controls in apache, instead 
of the ip address of the proxy server.

What happened instead:
The ip address of the proxy is used, making rules like "Allow from 10.0.0.0/24" 
break since they see everything as coming from the proxy server instead of the 
actual client.

System Details:
Ubuntu 12.04 LTS (amd64)
apache2-mpm-prefork 2.2.22-1ubuntu1
libapache2-mod-php5 5.3.10-1ubuntu3.2
libapache2-mod-rpaf version 0.6-2

Please let me know if I can provide any other information.

** Affects: libapache2-mod-rpaf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029003

Title:
  Apache access controls do not work with rpaf 0.6-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-rpaf/+bug/1029003/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to