Copying and Creating Package Repositories in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Recommended Generic Apache Configuration Settings

The following settings affect performance and security.

Reduce the over-the-wire size of metadata.

HTTP clients can tell the server that they accept compressed data in an HTTP request. Enabling the Apache DEFLATE filter can dramatically reduce the over-the-wire size of metadata such as catalogs and manifests. Metadata such as catalogs and manifests often compress 90%.

AddOutputFilterByType DEFLATE text/html application/javascript text/css text/plain
Allow more pipelined requests.

Increase the MaxKeepAliveRequests value to allow clients to make a larger number of pipelined requests without closing the connection.

MaxKeepAliveRequests 10000
Set the maximum wait time for response.

The proxy timeout sets how long Apache waits for the back-end depot to respond. For most operations, 30 seconds is satisfactory. Searches with a very large number of results can take significantly longer. You might want a higher timeout value to accommodate such searches.

ProxyTimeout 30
Disable forward proxying.

Make sure that forward proxying is disabled.

ProxyRequests Off