LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=29)
-   -   [Solved] i have issue with any Password Protect Directories (http://www.litespeedtech.com/support/forum/showthread.php?t=6044)

Eslam Taha 06-26-2012 10:10 AM

[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

webizen 06-26-2012 11:53 AM

make sure LSWS honors the htaccess (Admin Console => Configuration => Server => General => HTAccess: check FileInfo or everything but None)

Eslam Taha 06-26-2012 12:39 PM

Quote:

Originally Posted by webizen (Post 34090)
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

webizen 06-26-2012 05:39 PM

how do you add password protection?

Eslam Taha 06-27-2012 09:21 AM

Quote:

Originally Posted by webizen (Post 34093)
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

Eslam Taha 06-27-2012 01:15 PM

Quote:

Originally Posted by webizen (Post 34093)
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

NiteWave 06-27-2012 06:05 PM

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

Eslam Taha 06-28-2012 06:16 AM

Quote:

Originally Posted by NiteWave (Post 34116)
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 06-28-2012 08:42 AM

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.

Eslam Taha 06-28-2012 11:55 AM

Quote:

Originally Posted by Eslam Taha (Post 34122)
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


All times are GMT -7. The time now is 01:09 PM.