While not required under normal circumstances, default will restore Apache's simple hardcoded message for configurations that would otherwise inherit an existing ErrorDocument. htaccess file, just copy and paste into your file, but change the paths:ĮrrorDocument 404 /path/to/your/error/file/or/scriptĮrrorDocument 500 /path/to/your/error/file/or/scriptĮrrorDocument 403 /path/to/your/error/file/or/scriptĪdditionally, the special value default can be used to specify Apache's simple hardcoded message. ![]() This way, you can trap as many errors as you want.īelow is an example of a. Welcome to the SharePoint group This is the place to discuss best practices, news, and the latest trends and topics related to SharePoint. Thus the following line tells the server to run the error404.cgi script if the server cannot find the requested page. htaccess file.ĮrrorDocument 3DigitErrorCode /path/to/your/error/file/or/script You can add an ErrorDocument handler that specifies the exact numeric code and the name of the file to serve up (or CGI script to run) when that error is encountered in apache configuration file or. ![]() ![]() What about Internet Explorer 7 According to some browser statistics, IE 7 was used by less than 0.3 of users (April/2014). ![]() ErrorDocument Directive is comes in Apache core module. If your application does not want to support the user browser, you can simply raise a EDeviceNotSupported (declared in the unit IWException) or terminate the session and redirect it to specific HTML file, for instance.
0 Comments
Leave a Reply. |