HP Open Source Middleware Stacks Blueprint: LAMP Architecture on HP ProLiant BladeSystem Servers on RHEL

Table of Contents
Introduction ...........................................................................................................................................7
Executive Summary...........................................................................................................................7
Intended Audience............................................................................................................................7
Scope and Purpose............................................................................................................................7
HP Services........................................................................................................................................7
Typographic Conventions......................................................................................................................8
HP Encourages Your Comments............................................................................................................8
LAMP OSMS Test Environment.............................................................................................................8
Installing, Configuring, and Managing LAMP Middleware Stack Components..................................9
Configuring the Basic Apache HTTP Server.....................................................................................9
Advanced Apache HTTP Server Features.......................................................................................10
Using the Apache HTTP Server Benchmarking Tool.................................................................10
Apache HTTP Server Status and Information...........................................................................11
Configuring and Using the Modules....................................................................................11
Apache HTTP Server Log...........................................................................................................12
Using the Error Log to Diagnose the Apache HTTP Server.................................................12
Using Webalizer to Perform Apache HTTP Server Log Analysis........................................13
Using Apache Virtual Host Support .........................................................................................13
Using Apache HTTP Server URL Redirection...........................................................................15
Using Apache HTTP Server Proxy Features..............................................................................15
Error Responses and Redirects...................................................................................................16
Customizing Plain Text Responses.......................................................................................16
Customizing Local URL Redirect Responses.......................................................................16
Customizing External URL Redirect Responses...................................................................17
Using Per-User Web Directories.................................................................................................17
Integrating LAMP Components...........................................................................................................18
Integrating Apache HTTP Server with PHP and MySQL...............................................................18
Integrating Apache HTTP Server with Perl and MySQL................................................................19
Integrating Apache HTTP Server with Python and MySQL...........................................................20
Secure the Web Server Stack.................................................................................................................21
Enabling HTTPS Support in the Apache HTTP Server...................................................................21
Apache HTTP Server Authorization ..............................................................................................22
Creating an index.html File........................................................................................................22
Configuring the Authorized Overrides.....................................................................................22
Creating a Password File ...........................................................................................................23
Creating the Distributed Configuration File..............................................................................23
Restarting the Apache HTTP Server .........................................................................................23
Verifying the Authentication and Authorization Operations....................................................23
Protecting Apache HTTP Server Authorization with Symas CDS.................................................23
Configuring CDS and LDAP Services........................................................................................24
Configuring Apache HTTP Server Services...............................................................................24
Table of Contents 3