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