Go to the /where/is/apache.../src directory and edit the Configuration file
according to your situation. As a rule, this step may be easily omitted: Apache-1.2
has a fairly powerful self-configuration mechanism, which works well under the majority of
widespread systems.
Compilation Parameters Specified in the Configuration File
- To provide recoding support, your configuration should specify the
mod_charset module, and the preprocessor directive USE_TRANSFER_TABLES
should be present (-DUSE_TRANSFER_TABLES in the EXTRA_CFLAGS=... entry).
By default (that is, if you use the Configuration file from the distribution), this directive is
present.
- The preprocessor directive EPOCH_EXPIRES (-DEPOCH_EXPIRES in the
EXTRA_CFLAGS entry) is responsible for the date in the Expires header of documents
that should not be cached. If you compile without this directive, the Expires header
indicates the current time at the server. This way, it works in all cases except when the time at
the client's computer or at the intermediate proxy server is incorrectly set. Since you cannot control
the time that is set at the client's computer or proxy, using some past time in the Expires header
is more reliable. This is just what the server does if you compile it with the EPOCH_EXPIRES key.
-
The preprocessor directive XCYRILLIC (-DXCYRILLIC in EXTRA_CFLAGS) enables the
server to recognize the rarely used hack of the Mosaic program
(Accept: text/x-cyrillic-charset) implemented by Eugene Mironov in 1994 or so.
This hack is virtually useless at present, and its support results in lower
"cacheability" of documents if the HTTP/1.1 protocol is used
(the superfluous Accept field is added to the Vary header).
Therefore, the use of this directive is not recommended, and users of the
"hacked" version of Mosaic may use the buttons for explicit choice
of encoding (of course, if they are present at your server).