How?: External login for siteworx


I was wondering if i could make an external login form for my customers to login to their siteworx control panel from my site.

So, i’ll set an example: I have my own “company” website, but i want my customers to login from my site into their siteworx account, instead of going to their control panel’s URL.

So i would make a login form, but what should i do next? What actions or tags do i need to use to get it working?

I’ve found a sample of a form like this, but with Plesk; check, and you’ll find the login form on the left of the top.

By the way; this is my first post :slight_smile:

Thanks in advance.

I think this would be a easy thing to do for just one server, but what if you have multiple servers? That is what I would like to know.

Well, you send them to the siteworx control panel;

the “tag” ? fills in the domain name you have to give in. If a user goes to his control panel, they type: and it’s output is: and it automatically fills in the domain name. So i need to know the following for the login and password!

Well, i found the solution!

Here’s the code, mind; it’s not valid XHTML.

<form action=“https://YOURWEBSITE:2443/siteworx/index.php?action=login” method=“post”>
<input type=“hidden” name=“uri” value="">
E-mail Adres:<br>
<input type=“text” id=“email” name=“email” size=“30”><br>
<input type=“password” name=“password” size=“30”><br>
<input class=“textbox” type=“domain” name=“domain” size=“30”><br>
<input type=“submit” name="submit"value=“Login”>