Path Components; Image Links - Tut Systems SMS2000 User Manual

Tut systems sms2000 user guide
Table of Contents

Advertisement

Customizing SMS2000 Web Authentication with RADIUS
If the modified page you are loading is the first customized page for a group, a new
directory is created to store this and other modified files. This directory is automatically
given the same name as the active group. There is no need to reboot the SMS2000. When
a new subscriber connects, the subscriber sees the new web page.
To load a specified web page from a remote server, specifying a local or remote server
name, use this command:
load web {url | defaults}
For example, to load the customized version of the authentication file for the active group
from the server 192.168.254.249, type:
sms2000% load web http://192.168.254.249/authfile.html

Path Components

Path components are important when specifying the URL for use with the load web
command. On most web servers there exists a DOCUMENT_ROOT directory where web
page(s) are normally stored. If you are attempting to load a web page that exists in the
DOCUMENT_ROOT directory, include the IP address of the server and the name of the
file you want to load.
For example, to load a modified version of the authfile.html file which resides in the
DOCUMENT_ROOT directory of a server with the IP address 192.168.254.249, type:
sms2000% load web http://192.168.254.249/authfile.html
If the page you are attempting to load is in a directory other than the root directory you
must include the full path to the directory and also the name of the local file.
For example, to load a modified version of the authfile.html file which resides in the
/somedir directory of a server with the IP address 192.168.254.249, type:
sms2000% load web
authfile.html

Image Links

The default web pages contain links to the images that make up the pages. These links
specify a relative path to the images, for example <img src="myfile.gif">, meaning that
TUT Systems, Inc
SMS2000-based web page customization can only be done using
Note:
SMS2000 with a RADIUS authentication server.
The command load web immediately changes the web pages for the
Note:
active group.
http://192.168.254.249/somedir/authfile.html
Loading pages from a directory other that the DOCUMENT_ROOT
Note:
directory is not recommended.
Apache is a free web server available for all versions of Windows 95 or
Note:
later, Mac OS-X, and Linux. It can be downloaded from http://www.apache.org/
Page 87 of 104
P/N 220-06288-20

Advertisement

Table of Contents
loading

Table of Contents