A SERVICE OF

logo

12 Chapter 3. Configuration
The TUX compression feature is on in /etc/sysctl.conf.
The client has explicitly stated to support gzip encoding.
The original file exists, is a regular file, and has the proper permissions.
The .gz file exists, is a regular file, and has the proper permissions.
The .gz file is newer than or has the same-date as the original file.
The size of the .gz file is smaller than original file.
A cron job can be created to generate a new gzip file from the latest uncompressed data in each
directory.
3.3. Parameters
This chapter describes how to configure TUX via the available TUX parameters.
Most parameters can only be set when TUX is not active.
3.3.1. /proc/sys/net/tux Parameters
The following parameters are set through /proc/sys/net/tux.Note this has changed from
the original location of /proc/sys/net/http and /proc/net/http.
Table 3-1. TUX Configuration Parameters
Name Default Description
serverport 80 No longer available. To change the TUX
HTTP server port, use the command
echo ’http://0.0.0.0:80’ >
/proc/net/tux/0/listen/0, where 80
is the port number.
clientport 8080 The port listened to by the userspace
http-daemon
documentroot /var/www/html The directory where the web pages are
stored. If using the init script
/etc/rc.d/init.d/tux, documentroot
should be set in /etc/sysconfig/tux
as DOCROOT.