Archive for the tag 'Apache'

SBDavid

Apache Module mod_unique_id

Apache Module mod_unique_id

Description: Provides an environment variable with a unique identifier for each request
Status: Extension
Module Identifier: unique_id_module
Source File: mod_unique_id.c

Summary

This module provides a magic token for each request which is guaranteed to be unique across “all” requests under very specific conditions. The unique identifier is even unique across multiple machines in a properly configured cluster of machines. The environment variable UNIQUE_ID is set to the identifier for each request.

Reference: http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html

SBDavid

Modify Apache default success page

Modify Apache default success page

To modify the apache default success page, follow the steps below:

We just have to login to your server via ssh. Navigate to /usr/local/apache/htdocs
cd /usr/local/apache/htdocs And finally edit the file index.html nano index.html

SBDavid

Directives for Apache Configuration

Directives for Apache Configuration

Directives used by the Prefork MPM are available in the configuration interface found at
WHM >> Service Configuration >> Apache Configuration >> Global Configuration.

These directives include:

• MinSpareServers

• MaxSpareServers

• MaxClients

• MaxRequestsPerChild

Apache Handlers For cPanel version 11.30

Apache handlers control how your site’s Apache web server software manages certain file types and file extensions.

Apache comes configured to handle CGI scripts and server-parsed files. Their file extensions include: .cgi, .pl, .plx, .ppl, .perl, and .shtml.

You can configure Apache to handle a new file type with an existing handler by manually adding the handler and extension to cPanel.

For example, to have the server treat files with the extension .example as CGI files, you would type ”cgi-script” under Handler and “.example” under Extension(s).

How to update Apache in Cpanel Servers?

The EasyApache (Apache Update) feature is responsible for updating Apache (along with other applications and libraries).

We must update Apache manually. Apache will not update when you run /scripts/upcp.

Find and use EasyApache:

WHM (in browser) Main >> Software >> EasyApache (Apache Update)

Command line /scripts/easyapache

Whenever you run EasyApache, you are prompted to select the version of Apache you wish to use. If you choose a new version number, EasyApache will update Apache accordingly. It may be important to check back frequently as new Apache builds become available.
Reference: http://cpanel.net

« Prev - Next »