|
From: Matt <fro...@ya...> - 2005-10-17 19:07:38
|
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=admin&pass=xxxxxx&log_account=10 , it comes up with an error saying The page cannot be displayedThere 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 click 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=admin&pass=xxxxxx&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 : &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. |