DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30335>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30335

Mod_Proxy Problem

           Summary: Mod_Proxy Problem
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have a big problem, I have mod_proxy and other server with squid proxy on my 
network because I need mod_clamav virus checking
 
I have this config
 
Listen 8080 
ProxyRequests On 
ProxyVia on
ProxyPreserveHost On 
ProxyRemote * http://192.168.1.1:3128 
ClamavMode local 
ClamavTmpdir /var/tmp/clamav 
ClamavDbdir /home/clamav/share/clamav 
Include /home/etc/httpd/safepatterns.conf 
ClamavSizelimit 100000 
ClamavReloadInterval 3600 
<Proxy *>  
Order Deny,Allow 
SetOutputFilter CLAMAV 
</Proxy>  
<Location /clamav>  
SetHandler clamav  
</Location>  

 
You note that I use ProxyRemote to send traffic to my squid server the problem 
is that my squid server receives something like
 
090619793.398 11775 192.168.1.2 TCP_CLIENT_REFRESH_MISS/200 74969 GET 
http://www.interactive.net.ec/ - DEFAULT_PARENT/127.0.0.1 text/html

 
Where 192.168.1.2 is ip address from my web server but not my client ip address 
(192.168.1.32)  then I lose every squid config like control access because my 
client ip was masquerade to server ip (192.168.1.2). You note in my config file
I have ProxyPreserveHost On  but doesnt work and my Client host ip always is 
changed.
 
Please help me
 
 
Mauricio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to