If the following error is encountered in the error.log file:
This usually points to a distro breaking up SSL directives from the base SSL virtual host configuration. The default SSL configuration shipped with apache.org's Apache package contains these SSL configurations along with a base virtual host configuration.
Make sure that your SSL configuration file gets loaded before your virtual host configuration file and contains a line that looks like:
For confirmation, use http://localhost/server-status to check the cache status.
Output should be similar to the following:
If you do not get any session cache statistics on the server-status page then your SSL configuration is not correctly set.
To enable server-status, the following construct can be used in your Apache configuration file:
Problems on 64-bit Microsoft Windows
The following error may be encountered in the error.log file on a 64-bit version of Windows with the 32-bit version of Apache:
The offending line will be something like this:
Due to a parser error the "(x86)" in the path is mistakenly found when looking for the bracketed cache size parameter at the end. A work-around is to create a link to the Apache folder somewhere else and then replace the Apache folder of the above path with the path of that link. For example, create a link to
C:/Program Files (x86)/Apache Software Foundation
in your user folder as:
and then use that path in the config file:
As an alternative under Vista/Windows 7/Server 2008/Server 2008 R2 64bit you can create a junction:
and then simply remove the (x86) from the path in the config file:
A less complex alternative is to use the 8.3 compatible short name for "Program Files (x86)" which can be found by running:
The short name will probably look like "PROGRA~2". The offending line can then be changed to:
NOTE: The tilde (~) must be backslash escaped.