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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > htpasswd auth

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2011, 03:25 AM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Default htpasswd auth

Hi there,

Its long time that customers are reporting that cPanel password protection feature doesn't work properly at my cPanel/Litespeed servers

I've double checked my self and couldn't make it working
It returns 401 for correct password

here is configurations:

.htaccess:
Code:
AuthType Basic
AuthName "usr"
AuthUserFile "/home/usr/.htpasswds/public_html/wp-admin/passwd"
require valid-user
tried to generate passwd file using htpasswd and cPanel but both not working
also i just see bellow error related to this request:

2011-08-09 13:55:59.042 [INFO] [IP:62506-0#APVH_usr.com] File not found [/home/usr/public_html/401.shtml]

how to debug? any suggestion/

Respect
Reply With Quote
  #2  
Old 08-09-2011, 06:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can try enabling debug logging, also try an older release like 4.0.20 see if it is a bug introduced in 4.1.x.
Reply With Quote
  #3  
Old 08-09-2011, 07:08 AM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
switched back to 4.0.20 and works like a charm
error log is already set to DEBUG
u mean to increase debug level?
Reply With Quote
  #4  
Old 08-09-2011, 07:40 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
OK, looks a bug in 4.1.x release. We are at the hostingcon now, will address this issue next week.
Yes, change "Debug Level" to "HIGH" will give full debug log, by default, debug logging is disabled at "NONE" level.
Reply With Quote
  #5  
Old 08-11-2011, 01:33 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
could not reproduce in lab. please make sure password file DOES exist.

Quote:
AuthUserFile "/home/usr/.htpasswds/public_html/wp-admin/passwd"
Reply With Quote
  #6  
Old 08-12-2011, 07:03 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
We tested it against 4.1.3 release, it works fine in our lab. Have you tested 4.1.3?
If it still does not work properly with 4.1.3, the best way to address it is to login to your server and take a look.
Reply With Quote
  #7  
Old 08-14-2011, 07:34 PM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Yes working properly in latest 4.1.3
however there is another bug with .3 which I sent you coredump but didn't receive any response yet

Thanks
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 07:49 PM.



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