LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-23-2009, 06:31 PM   #1
tpau86
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
auto login for webmin


Hi,

Got the latest download for webmin and i am working on a web portal for DNS updates; my last big issue is getting the auto login working.

The login is via a reverse proxy and the URL I am testing is:

https://172.31.0.1:10000/session_log...23&page=/bind8

this URL fails with an internal server error 500.

I'm not runnig the test via the reverse proxy so i know thats not the issue. I think the session_login.cgi is doing something before hand but i cant work out how to make it work.

If anyone could help; would be great to here from you

Also, if i visit the page https://172.31.0.1:10000 and then run use the above URL https://172.31.0.1:10000/session_log...23&page=/bind8 it works, so the index page is caching something server side?


Phil
 
Old 03-24-2009, 11:05 AM   #2
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Mint, Backtrack, OpenSuse
Posts: 564

Rep: Reputation: 36
Hey Phil, what server are you using? (Distro)
 
Old 03-24-2009, 11:38 AM   #3
tpau86
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,

using opensuse 11.1, not that i think that matters a great deal. I know what the issues is in that the webmin session_login.cgi sends out a SID cookie that the clients uses from then on in. The issues is with the direct URL login, there is no session cookie so it fails.

perl i not my strong point at all so i cant see what is going on !!!

anyone done this before?

cheers
Phil
 
Old 03-24-2009, 11:48 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Mint, Backtrack, OpenSuse
Posts: 564

Rep: Reputation: 36
Hi Phil,

I just asked because I was wondering what kind of server you are using. I just installed UBUNTU server but I'm so used to OpenSuse (YaST) and I find this ubuntu a little hard to configure. are you using OpenSuse with GUI or without it?
 
Old 06-08-2009, 03:16 PM   #5
kulims
LQ Newbie
 
Registered: Dec 2008
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 1

Rep: Reputation: 0
If you have'nt resolved this yet, edit miniserv.pl and comment the first #if# block from #handle_login# sub like below:

# check if the test cookie is set

#if ($header{'cookie'} !~ /testing=1/ && $vu &&
# !$config{'no_testing_cookie'} && !$notest) {
# &http_error(500, "No cookies",
# "Your browser does not support cookies, ".
# "which are required for this web server to ".
# "work in session authentication mode");
# }
#
 
  


Reply

Tags
auto, login, webmin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I bypass auto login and force login screen temporarily? TuxSurfer Linux - General 2 06-26-2008 03:46 PM
Webmin Login bdavide Linux - Newbie 2 06-11-2008 05:37 PM
Auto-login (KDE) - will not auto-login without monitor attached Mithrilhall Linux - General 2 03-04-2008 10:16 AM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
Auto-login and auto-restart... TankerKevo Red Hat 2 10-04-2003 07:52 AM


All times are GMT -5. The time now is 05:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration