WESM zl Management and Configuration Guide WT.01.03 and greater
5-37
Web Authentication for Mobile Users
Configuring Custom Web-Auth Pages
Figure 5-25. CGI Code Required for a Login Page Stored on an External Server
Figure 5-26. CGI Code Required for the Login Page Stored on the Module
The CGI code in Figure 5-25 and Figure 5-26 creates the Username field, the
Password field, and the Log In button shown in Figure 5-27.
Figure 5-27. Simple Login Page Stored on an External Web Server
<<form action="https://192.168.1.50:444/cgi-bin/hslogin.cgi" method="POST" >
<p>
<label><font face="Arial, Helvetica, sans-serif">Username:</font>
<input type="text" name="f_user" />
<font face="Arial, Helvetica, sans-serif">Password:</font>
<input type="password" name="f_pass" />
<input type="submit" name="submit" value="Log In" />
</label>
</p>
</form>
You must
change the IP
address in this
code to the IP
address for
the Wireless
Edge Services
zl Module on
your network.
This code
provides the
fields for
entering login
credentials
and sends the
credentials to
the Wireless
Edge Services
zl Module.
<<form action="/cgi-bin/hslogin.cgi" method="POST" >
<p>
<label><font face="Arial, Helvetica, sans-serif">Username:</font>
<input type="text" name="f_user" />
<font face="Arial, Helvetica, sans-serif">Password:</font>
<input type="password" name="f_pass" />
<input type="submit" name="submit" value="Log In" />
</label>
</p>
</form>
These commands
provide the fields for
entering login
credentials and allow
the Wireless Edge
Services zl Module to
submit the
credentials to the
RADIUS server.