AcceptRedirect
Enables processing of HTTP server redirects.
Synopsis
This is a Yes or No directive.
The default is No.
Scope
This directive is only available for use in the global
(interchange.cfg) configuration file,
and will affect all websites running under the Interchange installation.
It will not work in a website's local (catalog.cfg)
configuration file.
Description
This directive enables the processing of HTTP server redirects,
allowing Interchange to handle ErrorDocument files etc. on behalf of the Apache web server.
For instance, if you have the following in Apache's httpd.conf file:
|
ErrorDocument 404 /cgi-bin/foundation
|
A request for /somedir/index.html that is not found will be equivalent
to /cgi-bin/foundation/somedir/index.html,
and the client will find the page to be indistinguishable from a page served
directly from Apache.
|
Warning
Caution should be taken not to enable Apache's ErrorDocument directive
to redirect to Interchange globally, as it would render you subject to a possible
denial-of-service attack using random URLs, such as from a flood of MS Windows
"Code Red" attacks.
It is recommended that you enable it only for specific directories,
as Apache or another HTTP server will stand up much better under such a flood.
|