source: Main/trunk/Tool/itworks.c@ 402

Last change on this file since 402 was 257, checked in by Nishi, on Oct 4, 2024 at 2:34:27 PM

[release 2.04] can read mime.types from apache

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1/* $Id: itworks.c 257 2024-10-04 05:34:27Z nishi $ */
2
3#include "../config.h"
4
5#include <stdio.h>
6
7int 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");
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 directory and replace this placeholder page, or else point the server at their real content.\n");
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");
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");
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 return 0;
36}
Note: See TracBrowser for help on using the repository browser.