HP Open Source Middleware Stacks Blueprints: LAMP Architecture on HP ProLiant BladeSystem Servers on SLES
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...........................................................................................................13
Using the Error Log to Diagnose the Apache HTTP Server.................................................13
Using Webalizer to Perform Apache HTTP Server Log Analysis........................................13
Using Apache Virtual Host Support .........................................................................................14
Using Apache HTTP Server URL Redirection...........................................................................16
Using Apache HTTP Server Proxy Features..............................................................................16
Error Responses and Redirects...................................................................................................17
Customizing Plain Text Responses.......................................................................................17
Customizing Local URL Redirect Responses.......................................................................18
Customizing External URL Redirect Responses...................................................................18
Using Per-User Web Directories.................................................................................................19
Integrating LAMP Components...........................................................................................................19
Integrating Apache HTTP Server with PHP and MySQL...............................................................19
Integrating Apache HTTP Server with Perl and MySQL................................................................20
Integrating Apache HTTP Server with Python and MySQL...........................................................21
Secure the Web Server Stack.................................................................................................................22
Enabling HTTPS Support in the Apache Web Server.....................................................................22
Apache Web Server Authorization .................................................................................................23
Creating an index.html File........................................................................................................23
Configuring the Authorized Overrides.....................................................................................23
Creating a Password File ...........................................................................................................24
Creating the Distributed Configuration File..............................................................................24
Restarting the Apache Web Server ............................................................................................24
Verifying the Authentication and Authorization Operations....................................................24
Protecting Apache Web Server Authorization with Symas CDS....................................................24
Configuring CDS and LDAP Services........................................................................................25
Configuring Apache Web Server Services.................................................................................26
Table of Contents 3