]> git.ipfire.org Git - thirdparty/squid.git/blob - errors/templates/ERR_INVALID_REQ
SourceFormat Enforcement
[thirdparty/squid.git] / errors / templates / ERR_INVALID_REQ
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head>
3 <meta type="copyright" content="Copyright (C) 1996-2017 The Squid Software Foundation and contributors">
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>ERROR: The requested URL could not be retrieved</title>
6 <style type="text/css"><!--
7 %l
8
9 body
10 :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
11 :lang(he) { direction: rtl; }
12 --></style>
13 </head><body id=%c>
14 <div id="titles">
15 <h1>ERROR</h1>
16 <h2>The requested URL could not be retrieved</h2>
17 </div>
18 <hr>
19
20 <div id="content">
21 <p><b>Invalid Request</b> error was encountered while trying to process the request:</p>
22
23 <blockquote id="data">
24 <pre>%R</pre>
25 </blockquote>
26
27 <p>Some possible problems are:</p>
28 <ul>
29 <li id="missing-method"><p>Missing or unknown request method.</p></li>
30 <li id="missing-url"><p>Missing URL.</p></li>
31 <li id="missing-protocol"><p>Missing HTTP Identifier (HTTP/1.0).</p></li>
32 <li><p>Request is too large.</p></li>
33 <li><p>Content-Length missing for POST or PUT requests.</p></li>
34 <li><p>Illegal character in hostname; underscores are not allowed.</p></li>
35 <li><p>HTTP/1.1 <q>Expect:</q> feature is being asked from an HTTP/1.0 software.</p></li>
36 </ul>
37
38 <p>Your cache administrator is <a href="mailto:%w%W">%w</a>.</p>
39 <br>
40 </div>
41
42 <script language="javascript">
43 if ('%M' != '[unknown method]') document.getElementById('missing-method').style.display = 'none';
44 if ('%u' != '[no URL]') document.getElementById('missing-url').style.display = 'none';
45 if ('%P' != '[unknown protocol]') document.getElementById('missing-protocol').style.display = 'none';
46 </script>
47
48 <hr>
49 <div id="footer">
50 <p>Generated %T by %h (%s)</p>
51 <!-- %c -->
52 </div>
53 </body></html>