source: trunk/server/fedora/config/etc/httpd/scripts-special/forbidden.shtml @ 2791

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