Author Topic: Create a Login page outside the RC folder  (Read 5829 times)

Offline techdude

  • Jr. Member
  • **
  • Posts: 38
Create a Login page outside the RC folder
« 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!

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Create a Login page outside the RC folder
« Reply #1 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
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
Create a Login page outside the RC folder
« Reply #2 on: May 24, 2008, 09:04:27 AM »

Offline sidnei.weber

  • Newbie
  • *
  • Posts: 2
Create a Login page outside the RC folder
« Reply #3 on: May 27, 2008, 02:34:23 PM »
and for insert domain?

Offline eGulp

  • Newbie
  • *
  • Posts: 6
Create a Login page outside the RC folder
« Reply #4 on: May 30, 2008, 06:50:40 AM »
Quote from: rosali;12029
You 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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Create a Login page outside the RC folder
« Reply #5 on: May 30, 2008, 10:07:56 AM »
Code: [Select]

<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
__________________
MyRoundcube Project (commercial)