Building Tablet PC Applications (Pro-Developer)

Apache is a web server. In other words, it is a service that runs on an operating system such as Linux, and it responds to requests. When users enter the address of a desired web page into a browser, their computers look to DNS servers to find the IP address of the desired web server. Once contact is made, the browser asks for the web page, usually on TCP/IP port 80. Apache responds to such requests by sending a web page to the requesting computer.

If you re currently running a web server based on Apache 1.3. x , you have some decisions to make. Red Hat Linux 9 includes Apache version 2.0.40. If you install these Apache packages, you may need to make several configuration changes. You should not upgrade your Apache server until you understand and have tested your websites on the new system.

Apache 2.0

Red Hat incorporated Apache version 2.0. x for the first time in Red Hat Linux 8.0. Apache version 1.3. x is still in common use. Many of you experienced with Apache may not be familiar with the changes in version 2.0. x , which include the following:

While some of these features have been back-ported to Apache 1.3. x (one reason why I think these older Apache servers will be around for some time), they were developed for Apache 2.0.

Packages

Apache is a modular server. As described in Web Chapter 5, the only required Apache RPM package is httpd-* . There are a number of other Apache packages that you can install, as shown in Table 30.2.

Table 30.2: Apache Packages

Name

Description

httpd

Installs the main Apache server

httpd-manual

Includes a complete manual for Apache

hwcrypto

Allows interfaces with Linux hardware cryptographic accelerators

mod_auth_pgsql

Allows access limits to PostgreSQL databases

mod_auth_mysql

Supports access limits to MySQL-based databases

mod_python

Adds a Python language interpreter to Apache

mod_perl

Adds a Perl language interpreter to Apache

mod_ssl

Includes SSL security in Apache

php

Installs PHP for dynamic scripts (PHP stands for PHP: Hypertext Preprocessor)

php-imap

Provides IMAP mail server support to Apache

php-ldap

Allows LDAP support for Apache

php-mysql

Implements PHP support of MySQL-based databases

php-odbc

Allows PHP interaction with Open Data Base Connectivity (ODBC)-based databases

php-pgsql

Installs a PHP interface with PostgreSQL-based databases

squid

Installs a proxy server

tux

Adds a kernel-based web server

webalizer

Includes a log analysis program for your web server

 

Категории