aboutsummaryrefslogtreecommitdiff
path: root/network/darkhttpd/index.html
blob: 3b0601be36d2fe8ff8e451f978c85f3012563f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome to darkhttpd</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
            color: #333;
        }
        header {
            background-color: #333;
            color: #fff;
            padding: 1rem;
            text-align: center;
        }
        main {
            padding: 2rem;
            max-width: 800px;
            margin: 0 auto;
        }
        h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        p {
            line-height: 1.6;
        }
        footer {
            text-align: center;
            padding: 1rem;
            background-color: #333;
            color: #fff;
            position: fixed;
            bottom: 0;
            width: 100%;
        }
        a {
            color: #007BFF;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <header>
        <h1>Welcome to darkhttpd</h1>
    </header>
    <main>
        <h1>Hello!</h1>
        <p>Welcome to the default page served by <strong>darkhttpd</strong>. Your web server is running correctly.</p>
        <p>You can replace this file with your own <code>index.html</code> to serve your content.</p>
        <p>For documentation or support, visit the <a href="https://unix4lyfe.org/darkhttpd/" target="_blank">official darkhttpd page</a>.</p>
        <h2>Directory Listing</h2>
        <p>If enabled, darkhttpd will automatically list the contents of directories when no <code>index.html</code> file is present.</p>
    </main>
    <footer>
        <p>&copy; 2025 darkhttpd. All rights reserved.</p>
    </footer>
</body>
</html>