summaryrefslogtreecommitdiffstats
path: root/src/civetweb/test/ssi_test.shtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:45:59 +0000
commit19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch)
tree42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/civetweb/test/ssi_test.shtml
parentInitial commit. (diff)
downloadceph-upstream/16.2.11+ds.tar.xz
ceph-upstream/16.2.11+ds.zip
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
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 000000000..eb03d171d
--- /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>
+