69 lines
1.9 KiB
HTML
69 lines
1.9 KiB
HTML
<!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>© 2025 darkhttpd. All rights reserved.</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
|