This section describes how to publish a HTML document on the Apache server.
With Apache server running, I am ready to publish HTML documents as static Web pages.
Here is a simple HTML document, hello.html, created with a text editor:
<html>
<body>
Hello world!
</body>
</html>
To publish this HTML document as a Web page, I copied it to the Apache document directory
\local\apache\htdocs:
C:\>copy hello.html \local\apache\htdocs
Then I viewed the page at: http://localhost/hello.html, and got the page content correctly.