Config File Changes in v2

Version 2.0 makes the following changes to the Config file:

  • CacheNegotiatedDocs now takes the argument on/off. Existing instances of CacheNegotiatedDocs should be given the argument on.

  • ErrorDocument <HTTP error number> "<message>" now needs quotes around the <message>, not just at the start.

  • The AccessConfig and ResourceConfig directives have been abolished. If you want to use these files, replace them by Include conf/srm.conf Include conf/access.conf in that order, and at the end of the Config file.

  • The BindAddress directive has been abolished. Use Listen.

  • The ExtendedStatus directive has been abolished.

  • The ServerType directive has been abolished.

  • The AgentLog, ReferLog, and ReferIgnore directives have been removed along with the mod_log_agent and mod_log_referer modules. Agent and referer logs are still available using the CustomLog directive.

  • The AddModule and ClearModule directives have been abolished. A very useful point is that Apache v2 does not care about the order in which DSOs are loaded.

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.