Last change
on this file since 2702 was
2678,
checked in by andersk, 10 years ago
|
403 error: add another case for documents that the server cannot read
|
File size:
735 bytes
|
Rev | Line | |
---|
[2676] | 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> |
---|
| 2 | <html><head> |
---|
| 3 | <title>403 Forbidden</title> |
---|
| 4 | </head><body> |
---|
[2678] | 5 | <!--#if expr="! -U reqenv('REDIRECT_URL')" |
---|
| 6 | --><h1>Forbidden</h1> |
---|
| 7 | <p>You don't have permission to access <!--#echo var="REDIRECT_URL" --> |
---|
| 8 | on this server.<br /> |
---|
| 9 | </p> |
---|
| 10 | <!--#elif expr="reqenv('REDIRECT_URL') =~ m,/$," |
---|
[2676] | 11 | --><h1>Directory listing forbidden</h1> |
---|
| 12 | <p>The directory at <!--#echo var="REDIRECT_URL" --> |
---|
| 13 | has no index document, and directory listing is not enabled for this directory.<br /> |
---|
| 14 | </p> |
---|
| 15 | <!--#else |
---|
[2678] | 16 | --><h1>Document not readable</h1> |
---|
| 17 | <p>The document at <!--#echo var="REDIRECT_URL" --> |
---|
| 18 | cannot be read by the server. (<a href="https://scripts.mit.edu/faq/48">More information</a>)<br /> |
---|
[2676] | 19 | </p> |
---|
| 20 | <!--#endif |
---|
| 21 | --></body></html> |
---|
Note: See
TracBrowser
for help on using the repository browser.