diff options
Diffstat (limited to 'src/civetweb/test/page3v.lp')
-rw-r--r-- | src/civetweb/test/page3v.lp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/civetweb/test/page3v.lp b/src/civetweb/test/page3v.lp new file mode 100644 index 00000000..5f81126e --- /dev/null +++ b/src/civetweb/test/page3v.lp @@ -0,0 +1,20 @@ +HTTP/1.0 200 OK +Content-Type: text/html + +<html><body> + + +<p>This is a test page of mg.include in a Lua server page, served by the +<a href="https://github.com/civetweb/civetweb/">CivetWeb web server</a>. +</p><p> +<? + script = "page2.lp" + mg.write("Output of " .. script .. " (path type: \"virtual\"):\n") +?> +</p><p> +<? + mg.include(script, "virtual") +?> +</p> + +</body></html> |