![]() |
Password Protect URL String
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? |
/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/". |
| All times are GMT -7. The time now is 11:50 AM. |