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

Go Back   LiteSpeed Support Forums > LiteSpeed Load Balancer > General > [Solved] i have issue with any Password Protect Directories

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2012, 10:10 AM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Default [Solved] i have issue with any Password Protect Directories

Hello

When add Password Protect on any Directories and user and password

when added user and password no login page but when Switch to Apache

i see well

how fix that issue

Thank you
Reply With Quote
  #2  
Old 06-26-2012, 11:53 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
make sure LSWS honors the htaccess (Admin Console => Configuration => Server => General => HTAccess: check FileInfo or everything but None)
Reply With Quote
  #3  
Old 06-26-2012, 12:39 PM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by webizen View Post
make sure LSWS honors the htaccess (Admin Console => Configuration => Server => General => HTAccess: check FileInfo or everything but None)
Hello

i sure add true on all with None

What issue now and how fix the issue

Thank you
Reply With Quote
  #4  
Old 06-26-2012, 05:39 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
how do you add password protection?
Reply With Quote
  #5  
Old 06-27-2012, 09:21 AM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by webizen View Post
how do you add password protection?
Hello

from cPanel : all steps
1- login cpanel
2- click Password Protect Directorie
3- and add ture on any folder needed add password and user name
4-- added user name and password

if you need screen shots

Thank you
Reply With Quote
  #6  
Old 06-27-2012, 01:15 PM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by webizen View Post
how do you add password protection?
sure and work with apahce without issue and i was talk all steps


i want fix that issue because hack


Thank you
Reply With Quote
  #7  
Old 06-27-2012, 06:05 PM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
where's the password filed located ? /home/user/.htpasswds/... ?
please provide following info:

ls -ald /home/user/public_html
and
ls -ald /home/user/.htpasswds
Reply With Quote
  #8  
Old 06-28-2012, 06:16 AM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by NiteWave View Post
where's the password filed located ? /home/user/.htpasswds/... ?
please provide following info:

ls -ald /home/user/public_html
and
ls -ald /home/user/.htpasswds
Hello


root@serverdb [/home]# ls -ald /home/tataronm/public_html
drwxr-xr-x 8 tataronm tataronm 4.0K Jun 28 04:51 /home/tataronm/public_html
root@serverdb [/home]# ls -ald /home/tataronm/.htpasswds
drwxr-x--- 3 tataronm tataronm 4.0K Jun 20 13:27 /home/tataronm/.htpasswds
root@serverdb [/home]#

and that password on other folder in /home/tataronm/public_html/xx

i wait help you to fix that issue

Thank you
Reply With Quote
  #9  
Old 06-28-2012, 08:42 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
Quote:
and that password on other folder in /home/tataronm/public_html/xx
not under
/home/tataronm/.htpasswds/.. ?

assume it's under /home/tataronm/.htpasswds/.., then
chgrp nobody /home/tataronm/.htpasswds/

maybe a lsws restart needed in case.
Reply With Quote
  #10  
Old 06-28-2012, 11:55 AM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Quote:
Originally Posted by Eslam Taha View Post
Hello


root@serverdb [/home]# ls -ald /home/tataronm/public_html
drwxr-xr-x 8 tataronm tataronm 4.0K Jun 28 04:51 /home/tataronm/public_html
root@serverdb [/home]# ls -ald /home/tataronm/.htpasswds
drwxr-x--- 3 tataronm tataronm 4.0K Jun 20 13:27 /home/tataronm/.htpasswds
root@serverdb [/home]#

and that password on other folder in /home/tataronm/public_html/xx

i wait help you to fix that issue

Thank you
Hello

please tell me what i can make steps to fix that issue

now you mean add /home/tataronm/public_html/xx/.htpasswds or u mean chown nobody nobody 4.0K Jun 20 13:27 /home/tataronm/.htpasswds

or what i sorry but i wanna fix that issue

Thank you
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 10:14 PM.



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