first commit: echo server
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>404 Not Found</title>
|
||||
<h1>404 Not Found</h1>
|
||||
<p>Configured error page.</p>
|
||||
@@ -0,0 +1,5 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Server error</title>
|
||||
<h1>Server error</h1>
|
||||
<p>Configured error page.</p>
|
||||
@@ -0,0 +1 @@
|
||||
A plain file, so /files/ has something to list.
|
||||
@@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>webserv</title>
|
||||
<h1>webserv</h1>
|
||||
<p>Static root served from <code>./www</code>.</p>
|
||||
<ul>
|
||||
<li><a href="/files/">/files/</a> — directory listing</li>
|
||||
<li><a href="/old">/old</a> — 301 redirect</li>
|
||||
</ul>
|
||||
@@ -0,0 +1,5 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>webserv.local</title>
|
||||
<h1>webserv.local</h1>
|
||||
<p>Different server block, same interface and port. Picked by the Host header.</p>
|
||||
Reference in New Issue
Block a user