1
0
Fork 0
forked from svrjs/svrjs
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs/tests.html
2023-07-29 20:32:17 +02:00

41 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>SVR.JS 3.4.17 Tests</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<style>
body {
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
text-align: center;
}
</style>
</head>
<body>
<h1>SVR.JS 3.4.17 Tests</h1>
<h2>Directory</h2>
<iframe src="/testdir" width="50%" height="300px"></iframe>
<h2>Directory (with query)</h2>
<iframe src="/testdir?query=value" width="50%" height="300px"></iframe>
<h2>Directory (personalized)</h2>
<iframe src="/testdir/.personalized" width="50%" height="300px"></iframe>
<h2>404 Error</h2>
<iframe src="/tfhgfhggf" width="50%" height="300px"></iframe>
<!--
THIS TEST IS NO LONGER APPLICABLE
<h2>// Path (500 Error Test)</h2>
<iframe src="//" width="50%" height="300px"></iframe>
-->
<h2>500 Error</h2>
<iframe src="/invoke500.svr" width="50%" height="300px"></iframe>
<h2>Server Side Javascript</h2>
<iframe src="/hello.svr" width="50%" height="300px"></iframe>
<h2>Proxy test</h2>
<iframe src="/proxy.svr/this/hello.svr" width="50%" height="300px" id="proxy"></iframe>
<h2>URL rewriting test (/invoke500/aprilfools => /invoke500.svr?aprilfools)</h2>
<iframe src="/invoke500/aprilfools" width="50%" height="300px"></iframe>
<br/>
<br/>
<img src="/powered.png" />
</body>
</html>