You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Covington, Chris" <Ch...@plusone.com> on 2006/04/17 20:29:54 UTC

[users@httpd] multiple authentication methods

Hi all,

Is is possible to define multiple authentication methods based on client
IP address / network?

For instance:

Client from 10.40.18.0, use AuthNTLM.  Client from anywhere else, use
AuthLDAP.

If not directly possible, is it possible to do something with
mod_rewrite to achieve this functionality?

thanks
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.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


Re: [users@httpd] multiple authentication methods

Posted by Joshua Slive <jo...@slive.ca>.
On 4/17/06, Covington, Chris <Ch...@plusone.com> wrote:
> Hi all,
>
> Is is possible to define multiple authentication methods based on client
> IP address / network?
>
> For instance:
>
> Client from 10.40.18.0, use AuthNTLM.  Client from anywhere else, use
> AuthLDAP.
>
> If not directly possible, is it possible to do something with
> mod_rewrite to achieve this functionality?

mod_rewrite could probably do this if you internally send different
clients to different directories, then use an appropriate <Directory>
section to restrict access as desired.  You could then use symlinks to
map the two directories to the same content.

Not simple, but it might work.

Joshua.

---------------------------------------------------------------------
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