I managed to do this with rewrite rules; if the requested host is not on intranet, I'll forbid the request:
RewriteRule .* - [F] ________________________________ From: alin vasile <alinachegal...@yahoo.com> To: users@httpd.apache.org Sent: Mon, April 19, 2010 11:36:23 PM Subject: Re: [us...@httpd] Reverse proxy - block explicit proxy setup Actually it doesn't block all the requests, but the requests that should go through the transparent proxy aren't rewriten, they are tried to be resolved to local files. ________________________________ From: alin vasile <alinachegal...@yahoo.com> To: users@httpd.apache.org Sent: Mon, April 19, 2010 11:24:16 PM Subject: Re: [us...@httpd] Reverse proxy - block explicit proxy setup I made this virtual host: NameVirtualHost * <VirtualHost *> <Directory / > Order deny, allow Deny from all </Directory> </VirtualHost *> But it blocks also my normal GET requests that should go through the transparent proxy (the client doesn't have the webserver configured as proxy). ________________________________ From: Eric Covener <cove...@gmail.com> To: users@httpd.apache.org Sent: Mon, April 19, 2010 10:39:31 PM Subject: Re: [us...@httpd] Reverse proxy - block explicit proxy setup On Mon, Apr 19, 2010 at 2:47 PM, alin vasile <alinachegal...@yahoo.com> wrote: > Hi all, > After I am setting up a reverse proxy using httpd, how can I disable the > requests from the clients that have it configured as (forward) proxy? > For example If i put my proxy IP & port in Proxomitron, even if I > configured "ProxyRequests Off", I can see in it while testing : > New Message Log Window.... > Testing 192.168.187.129:30000 > Waiting for remote proxy's reply > >HTTP/1.1 200 OK > Ending proxy test > Testing 192.168.187.129:30000 > Waiting for remote proxy's reply > >HTTP/1.1 200 OK > Ending proxy test > Thanks. It's probably not being proxied, but served by your default (first-listed) vhost that matches. Create a default virtualhost to capture these and configure it to deny all. -- Eric Covener cove...@gmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org