Roundcube Community Forum

 

Create a Login page outside the RC folder

Started by techdude, May 14, 2008, 06:03:45 AM

Previous topic - Next topic

techdude

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!

rosali

You just need a form, method post, action http://here is roundcube/?_task=mail&_action=login, input fields _user, _pass (optional _host).

-Roland
Regards,
Rosali

cbrace


sidnei.weber


eGulp

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

rosali


<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>
Regards,
Rosali