iTP Secure WebServer System Administrators Guide (Version 7.5+)
starts the server, saves the log files that were current when the server was stopped, and opens new
log files.
The following command:
: httpd -restarth -rollover configfile_name
dynamically restarts the server so that configuration changes can take effect immediately. The iTP
Secure WebServer continues operation, the log files that were current when the server was started
are saved, and new log files are opened.
The following command:
: httpd -restart -rollover configfile_name
This command stops the server, and then immediately restarts it. The log files that were current
when the server was stopped are saved and new ones are created on restart.
The httpd command is described in “Managing the iTP Secure WebServer Using Scripts”
(page 82), and in the iTP Secure WebServer reference pages.
Log File Naming Conventions
When you automatically rotate log files, current log files are saved under their configured names,
and a timestamp is appended to the name in the mmddyyyy.hhmmss format. You can use the
compress command to archive the log files as shown in the following examples:
: cd /usr/tandem/webserver/logs
: compress ../logs/error.log.07172009.124321
: cd /usr/tandem/webserver/logs
: compress ../logs/error.log.07172009.124321
Setting Up Server Aliases
If you plan to advertiseURLs for your server, you should register an alias for your server machine.
This subsection describes:
• “How Aliases Work” (page 111)
• “Why Aliases Are Useful” (page 111)
• “Setting Up an Alias” (page 112)
How Aliases Work
Analias, also known as a CNAME, is simply an alternative name for your server. Youregister the
CNAME and the local name with the Domain Name Server (DNS). For example, if your server
has the local name
aegean.compedia.com
you might select the following name as its DNS alias:
www.compedia.com
After registering this name with the DNS, you can then advertise www.compedia.com as the
name of your server. Users making requests through this alias would actually be accessing
aegean.compedia.com.
Why Aliases Are Useful
The major benefit to using an alias is flexibility. If your server has a registeredalias, you can
physically move your server to a new host machine without having to change your server's name
to reflect the name of the new host. If you did not use an alias and you moved to a new host, you
would must change all your server URLs to point to the new host and advertise the new URLs to
your users.
Setting Up Server Aliases 111










