Operating System - Linux
1825771 Members
2144 Online
109687 Solutions
New Discussion

Re: Apache & double access

 
SOLVED
Go to solution
Josef Forman
Frequent Advisor

Apache & double access

Hi everybody!
I need to tune my apache to accept requests to one "web application" from two groups which differs by used authentication method. One group should be authorized via kerberos and the other via basic authentication. Separated, everything works great, but i don't know how to combine this two methods on access one directory?

Is there any other chance to configure it properly?

Thanks for any advice
P.
2 REPLIES 2
Ivan Ferreira
Honored Contributor
Solution

Re: Apache & double access

I think that you cannot use both authentication methods for the same directory in the same configuration file. What you could do is to create virtual servers and then configure the same directory for each virtual server with different authentication method. The only thing is that users should access to the URL of the virtual server that corresponds with their authentication method, for example:

https://application.krb.domain.com/directory (For kerberos authentication)
https://application.bsc.domain.com/directory (For basic authentication)
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Josef Forman
Frequent Advisor

Re: Apache & double access

Yes, you are right, but i did it different way.
I used two direcotries with the same content (command mount --bind oldir newdir) and in httpd.conf is different statement for every authentication method.

thanks anyway