LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Password Protect URL String

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2009, 06:47 AM
zep zep is offline
Member
 
Join Date: May 2008
Posts: 41
Question 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?

Thanks!

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?
Reply With Quote
  #2  
Old 01-09-2009, 03:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
/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/".
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:52 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.