Password Protect URL String

Discussion in 'Install/Configuration' started by zep, Jan 9, 2009.

  1. zep

    zep Active Member

    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:



    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?
  2. mistwang

    mistwang LiteSpeed Staff

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

Share This Page