File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 ErrorDocument < 3-digit-code> < action>
7070 </example >
7171
72- <p >where the action can be one of :</p >
72+ <p >where the action will be treated as :</p >
7373
7474 <ol >
75- <li >Text to be displayed. Wrap the text with quotes (").</li >
76- <li >A local URL to redirect to.</li >
77- <li >An external URL to redirect to.</li >
75+ <li >A local URL to redirect to (if the action begins with a "/").</li >
76+ <li >An external URL to redirect to (if the action is a valid URL).</li >
77+ <li >Text to be displayed (if none of the above). The text must be
78+ wrapped in quotes (") if it consists of more than one word.</li >
7879 </ol >
7980
8081 <p >When redirecting to a local URL, additional environment variables
Original file line number Diff line number Diff line change @@ -1165,6 +1165,7 @@ in case of an error</description>
11651165 ErrorDocument 404 /cgi-bin/bad_urls.pl<br />
11661166 ErrorDocument 401 /subscription_info.html<br />
11671167 ErrorDocument 403 "Sorry can't allow you access today"
1168+ ErrorDocument 403 Forbidden!
11681169 </example >
11691170
11701171 <p >Additionally, the special value <code >default</code > can be used
You can’t perform that action at this time.
0 commit comments