|
From: Jamie C. <jca...@we...> - 2005-10-18 23:39:21
|
Ah, I see now .. you are running into a check in Webmin to ensure that cookies are enabled on the login page. To avoid this, add the line no_testing_cookie=1 to /etc/webmin/miniserv.conf , and then re-start Webmin. - Jamie On Wed, 2005-10-19 at 00:16, Matt wrote: > I tried with Firefox and the error message was > > Error - No cookies > > Your browser does not support cookies, which are required for this web server to work in session authentication mode > > Again when I tried the second method, i.e just typing the IP Address > in the URL without passing the username/password, getting the login > screen and then typing the complete URL with username/password, it > works fine. How is it that it is able to set cookies when only the IP > Address is entered https://xxx.xxx.xxx.xxx:10000 and not with the > complete URL > https://xxx.xxx.xxx.xxx:10000/session_login.cgi?user=adminamp;pass=xxxxxxamp;log_account=10? > > Thanks, > > Matt > > Jamie Cameron <jca...@we...> wrote: > > You should try connecting in a browser other than IE, such as > Firefox. IE hides the real error message from the web server, > so it is hard to see what is going wrong.. > > - Jamie > > -----Original Message----- > > From: Matt > Subj: Re: [webmin-l] Webmin Login Help > Date: Tue 18 Oct 2005 5:09 am > Size: 2K > To: web...@li... > > Thanks a lot for the help. It worked fine for me. Another > question is the first time I click the link > https://xxx.xxx.xxx.xxx:10000/session_login.cgi?user=adminamp;pass=xxxxxxamp;log_account=10 > , it comes up with an error saying > The page cannot be displayed There is a problem with the page > you are trying to reach and it cannot be displayed. > But if I just give the link https://xxx.xxx.xxx.xxx:10000 and > hit enter, it shows the login page which is fine. But after > that clic k the above url with the username and password it > works just fine. > > What is the reason it doesn't work initially? Does it need to > set any cookies? Why does it work the second method. Any help > or suggestion is highly appreciated. > > Matt > > > Jamie Cameron jca...@we... wrote: > On Sat, 2005-10-15 at 04:50, Matt wrote: > I have a link of my web page to open a browser and log me into > my > machine running webmin without having to login. The url is > > https://xxx.xxx.xxx.xxx:10000/session_login.cgi?user=adminamp;pass=xxxxxxamp;log_account=10 > > Now I want to able to control which page is loaded by default > depending on the value of log_account, for eg: if > log_account=10, I > want it to load Networking page and if log_account=20, I want > it to > load System page. Can I check the value of log_account or any > other > variable I pass? So can anyone explain how webmin's login > process > works and what file is executed after the login button on > session_login.cgi has been clicked? > > You should be able to specify the page to go to after login > already, by > adding a URL parameter like : > > amp;page=/%3Fcat%3Dsystem > > to go to the system category. > > - Jamie > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > Yahoo! Music Unlimited - Access over 1 million songs. Try it > free. --- message truncated --- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > ______________________________________________________________________ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. |