WESM zl Management and Configuration Guide WT.01.28 and greater

5-36
Web Authentication for Mobile Users
Configuring Custom Web-Auth Pages
Configuring the CGI Commands for the Login Page
When you create the login page, you can include any text and graphical elements that
you want as long as you include the CGI code shown in Figure 5-25 (for an external
page) or Figure 5-26 (for a custom page stored on the module). The required code
includes the commands that submit the users login credentials to the Wireless Edge
Services zl Module. When the page is stored on an external server, you must specify
the IP address of the module before the reference to the CGI commands. When you
are using pages that you have loaded to the module’s flash memory with advanced
configuration, the IP address is unnecessary.
In addition, the CGI code shown in Figure 5-25 and Figure 5-26 configures a small
form that includes a username field and a password field. You can customize the font
and the appearance of the form as needed to fit the other design elements on your
company’s login page.
Figure 5-25. CGI Code Required for a Login Page Stored on an External 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.