example web-server tree

This commit is contained in:
interp 2002-08-22 15:38:17 +00:00
parent 8380e1668c
commit 01b0dccb78
6 changed files with 45 additions and 0 deletions

1
web-server/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
httpd.log

View File

@ -0,0 +1,5 @@
#!/bin/sh
echo Content-Type: text/html
echo
echo
echo "<h2> This is the cgi script. </h2>"

View File

@ -0,0 +1 @@
This is a text file.

Binary file not shown.

View File

@ -0,0 +1,8 @@
<html>
<head><title>Home</title></head>
<body>
<p>
Hello world! <a href=index2.html>(more...)</a>
</p>
</body>
</html>

View File

@ -0,0 +1,30 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>Scheme Unterground</title></head>
<body>
<p>
<h1>Hello Unterground!</h1>
Following files are available:
<ul>
<li><a href=../cgi-bin/comments.sh>A small CGI script</a></li>
<li><a href=files/text.txt>Text file</a></li>
<li><a href=files>Directory</a></li>
<li><a href=files/zipped.gz>Compressed File</a></li>
<li><a href=index.html>Start</a></li>
<li><a href=index2.html>This file</a></li>
</ul>
<br>
And nothing else...
<hr>
<!-- Created: Thu Aug 22 16:44:16 CEST 2002 -->
<!-- hhmts start -->
Last modified: Thu Aug 22 17:16:33 CEST 2002
<!-- hhmts end -->
</body>
</html>
</p>
</body>
</html>