Ok, I have found this interesting...
You can redirect somepage or the whole directory like this
Redirect /your/server/path/folder
You can block people from accessing your site with this
AuthUserFile "/somehwre/////.htpsswd"
AuthType Basic
<limit GET>
require valid-user
</limit>
Now comes the question: How do I redirect people who happens to come to this restricted area to go to a script for verification, and comeback there...
I was able to redirect them to a script for verification and comeback there, but it will redirect me to the verification script again in an infinite loop... So my question is that how can you stop this loop and yet stop people from seeing the popup windows ( i hate popups)...
Sound like impossible, anyone?
You can redirect somepage or the whole directory like this
Redirect /your/server/path/folder
You can block people from accessing your site with this
AuthUserFile "/somehwre/////.htpsswd"
AuthType Basic
<limit GET>
require valid-user
</limit>
Now comes the question: How do I redirect people who happens to come to this restricted area to go to a script for verification, and comeback there...
I was able to redirect them to a script for verification and comeback there, but it will redirect me to the verification script again in an infinite loop... So my question is that how can you stop this loop and yet stop people from seeing the popup windows ( i hate popups)...
Sound like impossible, anyone?