| < Day Day Up > |
Linux distributions provide several Web servers for use on your system. The primary Web server is normally Apache, which has almost become the standard Web server for Red Hat Linux. It is a very powerful, stable, and
Other Web servers available for Linux include the Red Hat Secure Server ( www.redhat.com ), Apache-SSL ( www.apache-ssl.org ), Stronghold Enterprise Server ( www.redhat.com/software/stronghold ), and Netscape Enterprise Server ( home.netscape.com ). Apache-SSL is an encrypting Web server based on Apache and OpenSSL ( www.openssl.org ). Stronghold is a commercial version of the Apache Web server featuring improved security and administration tools. You can also use the original NCSA Web server, though it is no longer supported ( hoohoo.ncsa.uiuc.edu ). AOLserver is America Online's Web server that is now available under the GPL license ( www.aolserver.com ).
Apache
| < Day Day Up > |
| < Day Day Up > |
Tux, the Red Hat Content Accelerator, is a static-content Web server designed to be run very fast from within the Linux kernel. In effect, it runs in kernel space, making response times much faster than standard user-space Web servers like Apache. As a kernel-space server, Tux can handle static content such as images very
| Note |
Tux is
|
The Tux configuration file is located in
/proc/sys/net/tux
. Here you enter parameters such as
serverport
,
max_doc_size
, and
logfile
(check the Tux reference manual at
www.redhat.com/support/manuals
for a detailed listing). Defaults are already entered.
serverport
,
clientport
, and
Ideally, Tux is run as the primary Web server and Apache as the secondary Web server. To configure Apache to run with Tux, the port entry in the Apache httpd.conf file needs to be changed from 80 to 8080:
Port 8080
You can start, stop, and restart the server with the service command and the /etc/rd.d/init.d/tux script. Several parameters like DOCROOT can be specified as arguments to this Tux command. You can enter them in the /etc/sysconfig/tux file.
| Note |
You can also run Tux as an FTP server. In the /proc/sys/net/tux directory, you change the contents of the file serverport to 21, application_protocol to 1, and nonagle to 0, and then restart Tux. Use the generatetuxlist command in the document root directory to generate FTP directory listings. |
| < Day Day Up > |