Apache UnsetErrorDocument

Provides a way to unset ErrorDocument directive in Apache-1.3.x. This is useful when you have an automated configuration setup which requires overriding default files. ErrorDocument cannot be “unset” to it’s default state. This patch provides a UnsetErrorDocument directive to reset any previous ErrorDocument configurations.

To use:

Apply the patch with the following commands:
cd apache-1.3.x
patch -p1 -i ap_UnsetErrorDocument.patch

Add the following line to your Apache configuration file(s) to unset an ErrorDocument configuration:
UnsetErrorDocument [code]
ie: UnsetErrorDocument 404

Download: ap_UnsetErrorDocument.patch (facebook mirror)