Table of Contents

Advertisement

Chapter 6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Customizing the public access interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 6

Examples

These examples show how to accomplish some common customization tasks.
Displaying custom welcome and goodbye pages
This example shows how to display unique welcome and goodbye pages for specific
customers, or groups of customers.
For this example, assume you have two sets of customers: basic and premium. To
distinguish the two groups, you have set up the customer accounts on the RADIUS
server accordingly. (Perhaps you are using access lists to restrict each group to a
different section of the public network as described on page 156).
1. Create the following two folders on your web sever: basic and premium.
2. Create welcome.html and goodbye.html in each folder and customize them for
3. Add the following entry to the RADIUS profile for the basic customers.
4. Add the following entry to the RADIUS profile for the premium customers.
5. Add the following entry to the RADIUS profile for the CN3000. This gives all
Delivering dynamically generated content
Another way to generate custom pages is to add placeholders in the URLs for the
custom external pages and then use server-side scripting to dynamically create the
pages. This method provides a powerful mechanism to automatically generate
completely customized pages on a per-user basis. Rather than designing one or more
static pages, as in the previous example, the custom pages in this example can be built
on-the-fly based on customer preferences stored in a central database, or on a
customer's location within the network.
For example, if you want to generate a custom welcome page for each customer:
1. Add the following entry to the RADIUS profile for the CN3000.
2. Create a server-side script to retrieve the login name (%u) and the CN3000's IP
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 119 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
each set of customers.
welcome-url= web_server_URL /basic/welcome.html
goodbye-url= web_server_URL /basic/goodbye.html
welcome-url= web_server_URL /premium/welcome.html
goodbye-url= web_server_URL /premium/goodbye.html
unauthenticated users access to the web server hosting the goodbye page.
access-list=loginserver,ACCEPT,tcp, web_server_IP_address,port_number
welcome-url= web_server_URL /premium/welcome.html
?loginname=%u&IPaddress=%i
address (or domain name). The script can use this information to then display a
custom page based on customer's preferences (stored in the server's database) and
location within the wireless network.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents