|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
We have an apache 2.??? server and within this config some Directory, Location, ProxyPass, etc. 1. Directory directives used to go within our php application: <Directory /MySite/*> .... </Directory> 2. Location directives are used to access on Subversion repositories <Location /MySite/svn/myrepo01> .... </Location> <Location /MySite/svn/myrepo02> .... </Location> 3. ProxyPass and ProxyPassReverse to rewrite access on internal j2ee applications ProxyPass /MySite/jira/ http://myinternalserver/MySite/jira ProxyPassReverse /MySite/jira/ http://myinternalserver/MySite/jira As you can see all those adresses begin with /MySite It works well. The authentication for our internal users is done, if necessary, by the different elements. MY PROBLEM: I need to authentify users that are coming from a range of IP Adresses. Those users are coming from Internet. There are going trough a webgate server. This server have a certain range of addresses. I imagine to use Proxy for this range of ip address. Is it the correct technic? And if Yes, How can I do to proxying all the different directives? Thanks, Bruno |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Some more informations,
My goal is to find a technic to keep the different directives as it is, and to surround them with a proxy or something like that. I want to avoid to duplicate all the directives. I don't want a directive from intranet and another one for this range of address. The authentication is "just" to validate the incoming user. All those incoming users are registered within a central ldap server. Bruno |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Is it a solution to put a Limit like this within the httpd.conf file?
<Limit> order allow,deny deny from X.Y.Z.[A..B] allow from all AuthType Basic AuthLDAP... Require valid-user </Limit> And outside this denied address, it is a full access. Thanks, Bruno |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"blaisbr" <brnbls@gmail.com> schreef in bericht
news:1159721790.517542.254580@k70g2000cwa.googlegr oups.com... > Is it a solution to put a Limit like this within the httpd.conf file? > > <Limit> > order allow,deny > deny from X.Y.Z.[A..B] > allow from all > AuthType Basic > AuthLDAP... > Require valid-user > </Limit> > > And outside this denied address, it is a full access. NO Reading the documentation is an easier way to learn than guessing. http://httpd.apache.org/docs/2.0/mod/core.html#limit HansH |
|
![]() |
| Outils de la discussion | |
|
|