Chapter 14. Apache HTTP Server
187
14.2.4.6. The
mod_python
Module
The configuration for
mod_python;
has been moved from
httpd.conf
into the file
/etc/httpd/conf.d/python.conf
. For this file to be loaded, and hence for
mod_python;
to
work, you must have the statement
Include conf.d/*.conf
in your
httpd.conf
as described in
Section 14.2.1.3.
14.2.4.7. PHP
The
configuration
for
PHP
has
been
moved
from
httpd.conf
into
the
file
/etc/httpd/conf.d/php.conf
. For this file to be loaded, you must have the statement
Include
conf.d/*.conf
in your
httpd.conf
as described in Section 14.2.1.3.
The PHP is now implemented as a filter and must therefore be enabled in a different manor. See
Section 14.2.4 for more about filters.
Under Apache HTTP Server 1.3, PHP was implemented using the following directives:
AddType application/x httpd php .php
AddType application/x httpd php source .phps
Under Apache HTTP Server 2.0, use the following directives instead:
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
/Files
In PHP 4.2.0 and later the default set of predefined variables which are available in the global scope
has changed. Individual input and server variables are, by default, no longer placed directly into the
global scope. This change may cause scripts to break. You may revert to the old behavior by setting
register_globals
to
On
in the file
/etc/php.ini
.
For more on this topic, refer to the following URL for details concerning the global scope changes:
http://www.omnicus.net/release_4_1_0.php
14.3. After Installation
After you have installed the
httpd
package, the Apache HTTP Server's documentation is available
by installing the
httpd manual
package and pointing a Web browser to http://localhost/manual/ or
you can browse the Apache documentation available on the Web at http://httpd.apache.org/docs 2.0/.
The Apache HTTP Server's documentation contains a full list and complete descriptions of all con 
figuration options. For your convenience, this chapter provides short descriptions of the configuration
directives used by Apache HTTP Server 2.0.
The version of the Apache HTTP Server included with Red Hat Linux includes the ability to set
up secure Web servers using the strong SSL encryption provided by the
mod_ssl
and
openssl
packages. As you look through the configuration files, be aware that it includes both a non secure
and a secure Web server. The secure Web server runs as a virtual host, which is configured in the
/etc/httpd/conf.d/ssl.conf
file. For more information about virtual hosts, see Section 14.8.
For information on configuring a secure server virtual host, Section 14.8.2. For information on setting
up an Apache HTTP Secure Server see the chapter titled Apache HTTP Secure Server Configuration
in the Official Red Hat Linux Customization Guide.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

tomcat hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved