Roundcube Community Forum

Release Support => Release Discussion => Topic started by: techdude on May 14, 2008, 06:03:45 AM

Title: Create a Login page outside the RC folder
Post by: techdude on May 14, 2008, 06:03:45 AM
I have RC at a url of http://mydomain.com/mail but I would like to have a login page at both /mail and in the root of the domain.  How do I create a login page at the root of the domain?

Thanks!
Title: Create a Login page outside the RC folder
Post by: rosali on May 15, 2008, 12:29:31 AM
You just need a form, method post, action http://here is roundcube/?_task=mail&_action=login, input fields _user, _pass (optional _host).

-Roland
Title: Create a Login page outside the RC folder
Post by: cbrace on May 24, 2008, 09:04:27 AM
See also this thread:

"how can I login to RC mail from my home page (http://www.roundcubeforum.net/showthread.php?t=2841)"
Title: Create a Login page outside the RC folder
Post by: sidnei.weber on May 27, 2008, 02:34:23 PM
and for insert domain?
Title: Create a Login page outside the RC folder
Post by: eGulp on May 30, 2008, 06:50:40 AM
Quote from: rosali;12029You just need a form, method post, action http://here is roundcube/?_task=mail&_action=login, input fields _user, _pass (optional _host).

-Roland

Please, Can you explain us better ?

Many Thanks
Title: Create a Login page outside the RC folder
Post by: rosali on May 30, 2008, 10:07:56 AM

<form name=&quot;f&quot; action=&quot;http://my_url_to_roundcube/?_task=mail&quot; method=&quot;post&quot;>
Web Mail User Name: <input name=&quot;_user&quot;>
Password: <input name=&quot;_pass&quot; type=&quot;password&quot;>
<input name=&quot;_action&quot; value=&quot;login&quot; type=&quot;hidden&quot; />
<input name=&quot;_host&quot; value=&quot;imap_host_name (e.g. localhost)&quot; type=&quot;hidden&quot;>
<input type=&quot;submit&quot;>
</form>