Subversion Repositories Tewi

Rev

Rev 129 | Rev 168 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
129 nishi 1
/* $Id: itworks.c 143 2024-09-23 12:21:52Z nishi $ */
2
 
3
#include "../config.h"
4
 
5
#include <stdio.h>
6
 
7
int main() {
8
	printf("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n");
9
	printf("<html>\n");
10
	printf("	<head>\n");
11
	printf("		<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
12
	printf("		<title>Test Page for Tewi HTTPd Installation</title>\n");
13
	printf("	</head>\n");
14
	printf("	<body vlink=\"#000080\" text=\"#000000\" link=\"#0000FF\" bgcolor=\"#FFFFFF\" alink=\"#FF0000\">\n");
15
	printf("		<h1 align=\"center\">It works! - Tewi HTTPd is installed on this website!</h1>\n");
16
	printf("		<p>\n");
143 nishi 17
	printf("			If you can see this page, then the people who own this domain have just installed <a href=\"http://nishi.boats/tewi\">Tewi HTTPd</a> successfully. They now have to add content to this directoryt and replace this placeholder page, or else point the server at their real content.\n");
129 nishi 18
	printf("		</p>\n");
19
	printf("		<hr>\n");
20
	printf("		<blockquote>\n");
21
	printf("			If you are seeing this page instead of the website you expected, please <strong>contact the administrator of the website involved.</strong> (Try sending email to <samp>&lt;%s&gt;</samp>.) Although this site is running Tewi HTTPd it almost certainly has no other connection to the developers of Tewi HTTPd, so please do not send email about this website or its contents to the developers of Tewi HTTPd. If you do, your message will be <strong><big>ignored</big></strong>.\n", SERVER_ADMIN);
22
	printf("		</blockquote>\n");
23
	printf("		<hr>\n");
24
	printf("		<p>\n");
25
	printf("			For the document, take a look at <a href=\"https://trac.nishi.boats/tewi\">Tewi HTTPd Trac</a>.\n");
26
	printf("		</p>\n");
27
	printf("		<p>\n");
143 nishi 28
	printf("			The Webmaster of this site is free to use the image below on the Tewi HTTPd-powered Web server. Thanks for using Tewi HTTPd!\n");
129 nishi 29
	printf("		</p>\n");
30
	printf("		<div align=\"center\">\n");
31
	printf("			<img src=\"/pbtewi.gif\">\n");
32
	printf("		</div>\n");
33
	printf("	</body>\n");
34
	printf("</html>\n");
35
}