File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1506,6 +1506,22 @@ ErrorDocument 403 Forbidden!
15061506ErrorDocument 403 /errors/forbidden.py?referrer=%{escape:%{HTTP_REFERER}}
15071507 </highlight >
15081508
1509+ <p >When the argument is a text string (i.e., not a path or URL),
1510+ it is sent to the client with a content type of
1511+ <code >text/html</code >, so you may include HTML markup. You can
1512+ use the backslash line-continuation character to spread the
1513+ document across multiple lines:</p >
1514+
1515+ <highlight language =" config" >
1516+ ErrorDocument 403 "\
1517+ < html>< head> \
1518+ < title> 403 Forbidden< /title> \
1519+ < /head>< body> \
1520+ < h1> Forbidden< /h1> \
1521+ < p> You do not have permission to access this resource.< /p> \
1522+ < /body>< /html> "
1523+ </highlight >
1524+
15091525 <p >Additionally, the special value <code >default</code > can be used
15101526 to specify Apache httpd's simple hardcoded message. While not required
15111527 under normal circumstances, <code >default</code > will restore
You can’t perform that action at this time.
0 commit comments