You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by alin vasile <al...@yahoo.com> on 2010/04/19 20:47:45 UTC
[users@httpd] Reverse proxy - block explicit proxy setup
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.
Re: [users@httpd] Reverse proxy - block explicit proxy setup
Posted by alin vasile <al...@yahoo.com>.
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 <al...@yahoo.com>
To: users@httpd.apache.org
Sent: Mon, April 19, 2010 11:24:16 PM
Subject: Re: [users@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 <co...@gmail.com>
To: users@httpd.apache.org
Sent: Mon, April 19, 2010 10:39:31 PM
Subject: Re: [users@httpd] Reverse proxy - block explicit proxy setup
On Mon, Apr 19, 2010 at 2:47 PM, alin vasile <al...@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
covener@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-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Reverse proxy - block explicit proxy setup
Posted by alin vasile <al...@yahoo.com>.
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 <co...@gmail.com>
To: users@httpd.apache.org
Sent: Mon, April 19, 2010 10:39:31 PM
Subject: Re: [users@httpd] Reverse proxy - block explicit proxy setup
On Mon, Apr 19, 2010 at 2:47 PM, alin vasile <al...@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
covener@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-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Reverse proxy - block explicit proxy setup
Posted by Eric Covener <co...@gmail.com>.
On Mon, Apr 19, 2010 at 2:47 PM, alin vasile <al...@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
covener@gmail.com
---------------------------------------------------------------------
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