File: InfoCached.html

package info (click to toggle)
wwwoffle 2.9f-2.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,716 kB
  • ctags: 2,077
  • sloc: ansic: 23,951; sh: 6,815; lex: 4,201; perl: 917; makefile: 623; ruby: 181; lisp: 14
file content (107 lines) | stat: -rw-r--r-- 3,208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>

<!--

Available WWWOFFLE Variables (all with a '$' prefix).

localurl  = The root URL of the server running wwwoffled (='$localurl').
version   = The version of the WWWOFFLE server (='$version').
url       = The URL that the request was for (='$url').
proto     = The protocol used for this cached page (='$proto')
hostport  = The hostname and port number for this cached page (='$hostport')
cached    = A flag to indicate if the file is cached (='$cached').
head1     = The unmodified headers of the request.
head2     = The modified headers of the request.

-->

<HEAD>
<TITLE>WWWOFFLE Cached Page Information</TITLE>
<LINK href="$localurl/wwwoffle.css" type="text/css" rel="stylesheet">
</HEAD>

<BODY class="wwwoffle-message">


<!-- Standard WWWOFFLE Message Page Header Start -->

<div class="wwwoffle-header" align="center">
<b>WWWOFFLE</b> <b>-</b> <b>W</b>orld <b>W</b>ide <b>W</b>eb <b>Offl</b>ine <b>E</b>xplorer <b>-</b> <b>v$version</b>
</div>
<hr class="wwwoffle-header">

<!-- Standard WWWOFFLE Message Page Header End -->

<H1 align="center">WWWOFFLE Cached Page Information</H1>

$proto?=https{$cachedhttps=$cached}{$cachedhttps=}

$cached?{
This page details the information that is available about the URL
<b><tt><a href="%html[url]">$url</a></tt></b> that is available in the
WWWOFFLE cache.

<h2>Header</h2>

The cached header contains the following items (before WWWOFFLE has modified it
according to the
<a href="$localurl/README.CONF.html#CensorHeader">CensorHeader</a>
section of the configuration file, but after removing any headers for
compression or chunked encoding).
<p>

<pre>
%html[head1]
</pre>

The header that would be sent to the browser would contain the following items
(after WWWOFFLE has modified it according to the
<a href="$localurl/README.CONF.html#CensorHeader">CensorHeader</a>
section of the configuration file, but excluding any headers for compression or
chunked encoding or content length that might be used).
<p>

<pre>
%html[head2]
</pre>
}{}

$cachedhttps?{
<h2><a href="/certificates/real?$hostport">SSL Certificate</a></h2>

The SSL certificate that was sent from the server with this page.
}{}

$cached?{
<h2><a href="/info/content?%encode[url]">Contents</a></h2>

The contents of the page like links, images, stylesheets etc.

<h2><a href="/info/source?%encode[url]">Source</a></h2>

The HTML source code for the cached page (without any WWWOFFLE modifications).

<h2><a href="/info/request?%encode[url]">Request Headers</a></h2>

The headers that the browser would send to WWWOFFLE if it was to request this page.
}{
The page for the URL <b><tt><a href="%html[url]">$url</a></tt></b> is not
available in the WWWOFFLE cache.
}

<!-- Standard WWWOFFLE Message Page Footer Start -->

<hr class="wwwoffle-footer">
<div class="wwwoffle-footer" align="center">
WWWOFFLE - [ \
<a href="$localurl/Welcome.html" title="An introduction to WWWOFFLE">Welcome Page</a>| \
<a href="$localurl/FAQ.html" title="Frequently Asked Questions about WWWOFFLE">FAQ</a> \
] - WWWOFFLE
</div>

<!-- Standard WWWOFFLE Message Page Footer End -->

</BODY>

</HTML>