06-20-2018 02:08 PM
Hi team,
I've the PoC at my customer using CWP External. I did download (User-Auth-Example) and I imported for a web-server (Apache), but at moment authentication, the authentication page is provided and after the credentials entry is redirected to a page (reg.php). I don't have the file reg.php, would can you provide this file?
thanks for help !
Solved! Go to Solution.
08-03-2018 02:45 PM
Only for help others people, below an example page for use on an external web server:
<html>
<body>
<form name="weblogin" action="http://10.10.10.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.11.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.12.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.13.1/reg.php" id="logon" method="post">
<input type="hidden" name="url" value="any-value-here"/>
<p>
<label for="username">Username</label>
<input class="input" type="text" id="username" name="username" />
</p>
<p>
<label for="password">Password</label>
<input class="input" type="text" id="password" name="password" />
</p>
<input type="submit" value="LOGIN" />
</form>
</body>
</html>
the configuration of the displayed IP addresses is done in the advanced part of the CWP object.
Hope this helps !!
08-03-2018 02:45 PM
Only for help others people, below an example page for use on an external web server:
<html>
<body>
<form name="weblogin" action="http://10.10.10.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.11.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.12.1/reg.php" id="logon" method="post">
<form name="weblogin" action="http://10.10.13.1/reg.php" id="logon" method="post">
<input type="hidden" name="url" value="any-value-here"/>
<p>
<label for="username">Username</label>
<input class="input" type="text" id="username" name="username" />
</p>
<p>
<label for="password">Password</label>
<input class="input" type="text" id="password" name="password" />
</p>
<input type="submit" value="LOGIN" />
</form>
</body>
</html>
the configuration of the displayed IP addresses is done in the advanced part of the CWP object.
Hope this helps !!
08-03-2018 02:39 PM
Thanks David
06-20-2018 03:05 PM
Hello Alex,
Since the CWP is hosted Externally, the only Page-Files we have are ones that would be in Hivemanager if CWP was internal.
You can set which page the user is directed to in the Hivemanager CWP configuration, but if your CWP is totally external, you may be able to configure those parameters at the CWP Server.
Hope this helps, happy to assist
David Souri
HiveCommunity Moderator