Password Protect URL String

zep

Active Member
#1
I have the protected area working for directories, but I want to be able to password protect a URL string the specific one I want to protect is "/index.php/admin/"
Can I do this with litespeed? And if so, how would I go about making that work?:confused:

Thanks!:D

OR...

If I find the php file that is included when the login happens, can I protect a file that is included in the script, and will this cause an error when the script tries to run?
 

mistwang

LiteSpeed Staff
#2
/index.php/admin/ is not a real file I think, you may have to create a context like "/admin/" have it protected, then use rewrite rule to rewrite it to "/index.php/admin/", it may work.

Or, just let index.php to handle it. request a password when path_info is "/admin/".
 
Top