summaryrefslogtreecommitdiffstats
path: root/src/civetweb/test/ssi_test.shtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/civetweb/test/ssi_test.shtml
parentInitial commit. (diff)
downloadceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz
ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/civetweb/test/ssi_test.shtml')
-rw-r--r--src/civetweb/test/ssi_test.shtml37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/civetweb/test/ssi_test.shtml b/src/civetweb/test/ssi_test.shtml
new file mode 100644
index 00000000..eb03d171
--- /dev/null
+++ b/src/civetweb/test/ssi_test.shtml
@@ -0,0 +1,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>
+