Changeset 2678 for trunk/server/fedora


Ignore:
Timestamp:
Mar 5, 2015, 10:20:40 PM (10 years ago)
Author:
andersk
Message:
403 error: add another case for documents that the server cannot read
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/scripts-special/forbidden.shtml

    r2676 r2678  
    33<title>403 Forbidden</title>
    44</head><body>
    5 <!--#if expr="-U reqenv('REDIRECT_URL')"
     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,/$,"
    611--><h1>Directory listing forbidden</h1>
    712<p>The directory at <!--#echo var="REDIRECT_URL" -->
     
    914</p>
    1015<!--#else
    11 --><h1>Forbidden</h1>
    12 <p>You don't have permission to access <!--#echo var="REDIRECT_URL" -->
    13 on this server.<br />
     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 />
    1419</p>
    1520<!--#endif
Note: See TracChangeset for help on using the changeset viewer.