Re: Someone spamming using my reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 02, 2003 at 07:14:06AM -0330, Mike Pelley wrote:
> Folks - A review of my firewall logs followed by a rejection due to a 
> RBL listing makes it seem like my Apache 2.0.40 reverse proxy in my DMZ 
> is being used by spammers.  Here is the relevent sections of my httpd.conf:

Funny, I was just having the same problem myself.  What I did was...

> <VirtualHost X.Y.1.1>
>        ServerName www.pelleys.com
>        ServerAlias pelleys.com
>        ProxyRequests Off
>        <Proxy *>                             <------ OUT

         <Proxy http://some-internal-server/>  <------ IN

>                Order deny,allow
>                Allow from all
>        </Proxy>
>        ProxyPass / http://some-internal-server/
>        ProxyPassReverse / http://some-internal-server/
>        CustomLog /path/to/www-proxy.log combined
>        ErrorLog /path/to/www-error.log
> </VirtualHost>
 

and that seems to work properly.


Cheers! (Relax...have a homebrew)

Neil


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux