|
|

07-09-2005, 05:50 AM
|
|
New Member
|
|
Join Date: Jul 2005
Posts: 6
|
|
Unable to login to the adminpanel
Hello
I'm using your latest release, 2.0.7 (lsws-2.0.7-std-i386-linux.tar.gz) for my linux 2.6 i386 machine, I followed the docs/install and everything works fine except the authorization when I'm supposed to login, it never accepts me and I have absolutley no clue why.
A friend of mine is also using your server, and he has doublechecked that I am not doing anything wrong in the installation-process (I download it to my useraccount, which is a non-root acc, decompresse it, run install, and connect to the www-admin-page).
It's not like I'm using a very sofisticated password nor username (login: admin pass: 123456) either.
Whats else.. Hmm, yeah, the normal (non-admin) site works fine, and both "Hello World from CGI script", "phpinfo.php", "missing page", "Password protected content" and "blocked area" works.
[EDIT]
I have also tried to use the admpass.sh (and even restarted the server afterwards), but no success there either.
[/EDIT]
Thanks in advance!
--Falcon.
|

07-09-2005, 07:01 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Please check the password file, at lsws/admin/conf/htpasswd, see if the password file is in good shape. Also, be careful with file permission.
Is lsws installed as your non-root account?
|

07-09-2005, 08:53 AM
|
|
New Member
|
|
Join Date: Jul 2005
Posts: 6
|
|
|
That certainly did the trick, or, or atleast your attention did. It seems like the admpasswd.sh isn't really stable, because it didn't gave me any errormsges when I used it. However, I changed the password with the help of htpasswd, (which I figured generated the same types of passwords), and then it worked.
1. htpasswd -n admin
2. <inputs password twice>
3. Copy the result to the "lsws/admin/conf/htpasswd"-file.
4. Done.
Thanks alot mistwang!
|

07-09-2005, 12:08 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
You are welcome! :-)
Usually, the admpass.sh works fine, but it may fail under certain environment.
Would you mind showing us the content of the htpasswd file generated by admpass.sh, it can help us fixing the bug.
Thanks!
George
|

07-09-2005, 02:36 PM
|
|
New Member
|
|
Join Date: Jul 2005
Posts: 6
|
|
Sure! I'll do anything I can to help such a great webserver as yours.
Here's how my htpasswd looks like:
|

07-11-2005, 11:45 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Thank you, Falcon, :-)
I might be wrong, but I think that's your current password file generated by htpasswd. What I real interested in is the content of the password file created by adminpass.sh. Sorry for the confusion.
Can you help with that?
Thanks,
George
|

08-05-2005, 12:56 AM
|
|
New Member
|
|
Join Date: Jul 2005
Posts: 6
|
|
Sorry
Sorry for this big time difference, I've been on a holiday and haven't been online since. However, I noticed now that it wasn't your litespeed webserver to blame, I had myself not set the proper permissions (I had 600) on the htpasswd-file, and as a result, the user running the webserver could not read it. I doubt that you'd still want the text that is inside after hearing that, but if you still do, please repeat.
// Falcon.
|

08-05-2005, 08:18 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
Ok, I see.
Thanks.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:29 PM.
|
|