[Solved] i have issue with any Password Protect Directories

#1
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
 

webizen

Well-Known Member
#2
make sure LSWS honors the htaccess (Admin Console => Configuration => Server => General => HTAccess: check FileInfo or everything but None)
 

NiteWave

Administrator
#7
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
 
#8
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
 

NiteWave

Administrator
#9
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.
 
#10
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
 
Top