The following setup is required to use Apache HTTP Server on your OES servers:
When you install OES services on the server, Novell-ready versions of Apache 2 (Prefork, 64-bit) and Tomcat 6 are automatically installed and configured. You manually manage Apache services with the Apache configuration files. Use a text editor to create or modify the configuration files, then gracefully restart the Apache HTTP Server daemon (rcapache2 graceful) to apply the changes.
WARNING:Do not install the default Linux Section 4.5.1, Apache Server Errors after Using the HTTP Server Option in YaST.pattern independently of the OES patterns being added to the server. Do not use the option in YaST to configure Apache or virtual host settings on an OES server. It overwrites essential OES settings for Apache and breaks the existing setup. For recovery information, see
You can use the Novell Storage Services (NSS) file system or Linux file systems to host your web content:
NSS volumes: Install the OES 11 SP3: NSS File System Administration Guide for Linux.pattern on the server. For information, see
Novell Cluster Services supports cluster resources for NSS pools. For information about creating clustered NSS pools and volumes, see OES 11 SP3: Novell Cluster Services for Linux Administration Guide.
Linux volumes: The Linux Logical Volume Manager (LVM) and POSIX file systems (such as Btrfs, Ext2, Ext3, Reiser, and XFS) are installed automatically. You can manage the volumes with NSSMU and Novell Linux Volume Manager (NLVM) if you install Novell Storage Services on the server.
To use NCP-enabled Linux volumes, install NCP Services and Novell Remote Manager on each OES node in the cluster. For information, see the OES 11 SP3: NCP Server for Linux Administration Guide.
You can host multiple websites on the same server. You must configure an Apache virtual host for each website.
The following permissions are required:
The user wwwrun must be the file owner of the website directories and files. The group can be the system root or the Apache group www.
If web content resides on an NSS volume or on an NCP-enabled Linux volume, the following additional permissions are required:
Enable the eDirectory user wwwrun and group www with Linux User Management (LUM). OES automatically creates and LUM-enables the user and group when you install the first OES server in a NetIQ eDirectory tree.
Assign the eDirectory user wwwrun as a file system trustee with Read and File Scan rights for the directory you specify in the DocumentRoot directive in the virtual host configuration file.
For information about the default OES setup for Apache and setting up virtual hosts, see Section 4.4, Using Apache HTTP Server on OES Servers (Single Server or Cluster Nodes).