PDA

View Full Version : Apache > order of events


PedroLeite
2008-05-15, 11:26 AM CDT
Hi all

got a question concerning apache web server

we have a couple of sites running in apache
these sites require ldap auth from our windows domain controller. it is working.

now my question is.
when the site is reached, a pop up asks for user name and password.
if i write a rewrite rule from http to https, what happens first ??
the rewrite rule and the the pop up or the pop up and then the rewrite ??

Thank you
Pedro Leite

ebelog
2008-05-15, 12:12 PM CDT
I think the pop-up authentication would happen first. In order to get to the rewrite rule, a user would have to authenticate.

It should be pretty straightforward to test so that you can be sure.