LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Password Protect URL String (http://www.litespeedtech.com/support/forum/showthread.php?t=2610)

zep 01-09-2009 06:47 AM

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?

mistwang 01-09-2009 03:23 PM

/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.