Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Confused about the proxy directive |
|
Author |
|
red888
Joined: 09 Jun 2016 Posts: 1
|
Posted: Fri 10 Jun '16 3:20 Post subject: Confused about the proxy directive |
|
|
Reading the docs I'm still a little unsure of something:
Quote: | For example, the following will allow only hosts in yournetwork.example.com to access content via your proxy server:
Code: | <Proxy *> Require host yournetwork.example.com </Proxy>
|
The following example will process all files in the foo directory of example.com through the INCLUDES filter when they are sent through the proxy server:
Code: | <Proxy http://example.com/foo/*> SetOutputFilter INCLUDES </Proxy>
|
The next example will allow web clients from the specified IP addresses to issue CONNECT requests to access the https://www.example.com/ SSL server if mod_proxy_connect is enabled.
|
So what I specify in <Proxy URL/IP/port> determines if the proxy rules get applied right?
So in the last example a client with an IP of 192.123.1.1 will be able to connect to www.example.com over HTTP, but not HTTPS right? Its outside the allowed IP block, but because its connecting over port 80 it doesn't get proxied at all and will be able to access it. Is this correct? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 16 Jun '16 18:37 Post subject: |
|
|
You want an IP Range or a single IP able to connect to your proxy?
Can you post your config please? |
|
Back to top |
|
|
|
|
|
|