]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <!doctype html> |
2 | <html lang="en"> | |
3 | <head> | |
4 | <meta charset="utf-8"> | |
5 | <title>The HTML5 Herald</title> | |
6 | <meta name="author" content="CivetWeb developers"> | |
7 | <meta name="description" content="CivetWeb Server Side Include (SSI) Test Page"> | |
8 | </head> | |
9 | ||
10 | <body> | |
11 | <h1>CivetWeb Server Side Include (SSI) Test Page</h1> | |
12 | <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> | |
13 | ||
14 | <h2>Execute: "cd"</h2> | |
15 | <!--#exec "cd" --> | |
16 | <h2>Execute: "pwd"</h2> | |
17 | <!--#exec "pwd" --> | |
18 | ||
19 | <h2>File relative to current document: "hello.txt"</h2> | |
20 | <!--#include file="hello.txt" --> | |
21 | <h2>Short form: "hello.txt"</h2> | |
22 | <!--#include "hello.txt" --> | |
23 | ||
24 | <h2>File relative to document root: "hello.txt"</h2> | |
25 | <!--#include virtual="hello.txt" --> | |
26 | ||
27 | <h2>File with absolute path: "C:\Windows\system.ini"</h2> | |
28 | <!--#include abspath="C:\Windows\system.ini" --> | |
29 | <h2>File with absolute path: "/etc/issue"</h2> | |
30 | <!--#include abspath="/etc/issue" --> | |
31 | ||
32 | <h2>Nested file relative to current documentt: "hello.shtml"</h2> | |
33 | <!--#include file="./hello.shtml" --> | |
34 | ||
35 | </body> | |
36 | </html> | |
37 |