Please confirm:

<location /dev3/app2>
        Allow from 10.3.2.0/24
        ProxyPass /dev3/app2/ http://internalhost3/dev3/app2/
        ProxyPassReverse /dev3/app2/ http://internalhost3/dev3/app2/
</location>

...when I made this modification, my apache fails to start

-----Original Message-----
From: Peter Schober [mailto:peter.scho...@univie.ac.at] 
Sent: Wednesday, March 04, 2009 5:59 PM
To: users@httpd.apache.org
Subject: [dtiSPAM] - Re: [us...@httpd] MOD_PROXY Reverse Proxy - control
URI access byclient IP Address - Email has different SMTP TO: and MIME
TO: fields in the email addresses

* Todd Simons <tsim...@delphi-tech.com> [2009-03-04 22:41]:
> We'd like to utilize one public hostname
"http://webservers.domain.com";
> to rewrite different web apps, but control the access to the web app
by
> ip address, similar to an "allow from" on a directory.

You could wrap the ProxyPasses in <Location> elements and put the
'Allow from 10.5.1.0/24' etc. in there. See the end of the ProxyPass
directive docs at
http://httpd.apache.org/docs/2.2/en/mod/mod_proxy.html#proxypass
Proceed likewise for ProxyPassReverse.

cheers,
-peter

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

users-h...@httpd.apache.org


## Scanned by Delphi Technology, Inc. ##

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to