blob: eb03d171d9ca6bc025affa7fde4e4ad6a894d4a1 (
plain)
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
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="author" content="CivetWeb developers">
<meta name="description" content="CivetWeb Server Side Include (SSI) Test Page">
</head>
<body>
<h1>CivetWeb Server Side Include (SSI) Test Page</h1>
<p>Note: Some of the tests below will only work on Windows, others only on Linux, and some probably not on all Linux distributions and all Windows versions.</p>
<h2>Execute: "cd"</h2>
<!--#exec "cd" -->
<h2>Execute: "pwd"</h2>
<!--#exec "pwd" -->
<h2>File relative to current document: "hello.txt"</h2>
<!--#include file="hello.txt" -->
<h2>Short form: "hello.txt"</h2>
<!--#include "hello.txt" -->
<h2>File relative to document root: "hello.txt"</h2>
<!--#include virtual="hello.txt" -->
<h2>File with absolute path: "C:\Windows\system.ini"</h2>
<!--#include abspath="C:\Windows\system.ini" -->
<h2>File with absolute path: "/etc/issue"</h2>
<!--#include abspath="/etc/issue" -->
<h2>Nested file relative to current documentt: "hello.shtml"</h2>
<!--#include file="./hello.shtml" -->
</body>
</html>
|