iTP Secure WebServer System Administrators Guide (Version 7.5+)
Setting Up an Alias
To set up an alias for your server:
1. Choose an alias for your machine and register it with the DNS. If you are not sure how to
register the name you choose, consult your local area network (LAN) administrator or the
system documentation.
2. Verify that your alias has been registered. Use the nslookup command if it is available on
your system.
3. In the server configuration file (httpd.config), set the -name option in the Accept or
AcceptSecureTransport directive to the server's alias name (see “Configuration Directives”
(page 198)). This option configures the server to create URLs that properly point to the server.
For the server in the example, you would include the following element in the Accept or
AcceptSecureTransport directive:
-name www.compedia.com
After changing the configuration file, you must restart the server as described in “Configuring
the iTP Secure WebServer” (page 94).
4. Test the new configuration by using the new alias in a URL to access the server. For the server
in our example, you would use your Web client to access:
http://www.compedia.com/index.html
Controlling Access to the Server
This subsection describes how to control and monitor access to your server using these tasks:
• “Using Region Directives” (page 112)
• “Granting Access by Host Name/IP Address” (page 113)
• “Denying Access by Host Name/IP Address” (page 114)
• “Requiring Client Authentication” (page 114)
• “Administering Passwords” (page 115)
• “Redirecting Access” (page 116)
• “Enabling Automatic Directory Indexing” (page 117)
• “Disabling Logging” (page 118)
• “Using Multiple Region Commands” (page 118)
• “Using Pattern Variables (Lists)” (page 119)
• “Using Conditional Commands” (page 120)
• “Using Tcl Variables” (page 120)
• “Allowing Byte Ranges” (page 122)
• “Implementing Multiple-Host Support” (page 123)
Using Region Directives
You control client access to your server by entering commands in a Region directive in the server
configuration file (httpd.config). The Region directive applies these commands to any requests
or classes of requests attempting to access a specified portion of your server file tree. Such a
specified portion of the server file tree is referred to as a region.
Region directives allow you to limit access to any region on your server. For example, you might
use a Region directive to deny requests from certain hosts, to describe the security attributes
required for certain requests, or to redirect requests to another location. The region you specify in
a Region directive might include all files on the server, only the files under a certain directory
112 Configuring the iTP Secure WebServer










