httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1328145 - /httpd/httpd/trunk/docs/manual/getting-started.xml
Date Thu, 19 Apr 2012 22:57:06 GMT
Author: rbowen
Date: Thu Apr 19 22:57:06 2012
New Revision: 1328145

Skeleton "getting started" document. Should this go in the howto/
directory instead?


Added: httpd/httpd/trunk/docs/manual/getting-started.xml
--- httpd/httpd/trunk/docs/manual/getting-started.xml (added)
+++ httpd/httpd/trunk/docs/manual/getting-started.xml Thu Apr 19 22:57:06 2012
@@ -0,0 +1,117 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
+<?xml-stylesheet type="text/xsl" href="./style/manual.en.xsl"?>
+<!-- $LastChangedRevision: 922232 $ -->
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ See the License for the specific language governing permissions and
+ limitations under the License.
+<manualpage metafile="getting-started.xml.meta">
+  <title>Getting Started</title>
+<p>If you're completely new to the Apache HTTP Server, or even to running
+a website at all, you might not know where to start, or what questions to
+ask. This document walks you through the basics.</p>
+<section id="clientserver">
+<title>Clients, Servers, and URLs</title>
+Addresses on the Web are expressed with URLs - Uniform Resource Locators
+- which specify a protocol (e.g. <code>http</code>), a servername (e.g.
+<code></code>), a URL-path (e.g.
+<code>/docs/current/getting-started.html</code>), and possibly a query
+string (e.g. <code>?arg=value</code>) used to pass additional
+arguments to the server. 
+<p>A client (e.g., a web browser) connects to a server (e.g., your Apache HTTP Server),

+with the specified protocol, and makes a <strong>request</strong> for a resource
using the
+<p>The URL-path may represent any number of things on the server. It may
+be a file (like <code>getting-started.html</code>) a handler (like <a
+href="mod/mod_status.html">server-status</a>) or some kind of program
+file (like <code>index.php</code>). We'll discuss this more below in
+the <a href="#content">Web Site Content</a> section.</p>
+The server will send a <strong>response</strong> consisting of a status
+code and, optionally, a response body.
+The status code indicates whether the request was successful, and, if not, what
+kind of error condition there was. This tells the client what it should
+do with the response. You can read about the possible response codes in
+<a href="">HTTP Server
+<p>Details of the transaction, and any error conditions, are written to
+log files. This is discussed in greater detail below in the <a
+href="#logs">Logs Files and Troubleshooting</a> section.</p>
+<section id="dns">
+<title>Hostnames and DNS</title>
+<p>In order to connect to a server, the client will first have to resolve
+the servername to an IP address - the location on the Internet where the
+server resides. Thus, in order for your web server to be reachable, it
+is necessary that the servername be in DNS.</p>
+<p>If you don't know how to do this, you'll need to contact your network
+administrator, or Internet service provider, to perform this step for
+<p>If you are testing a server that is not Internet-accessible, you
+can put host names in your hosts file in order to do local resolution.
+For example, you might want to put a record in your hosts file to map a
+request for <code></code> to your local system, for
+testing purposes. This entry would look like:</p>
+<p>A hosts file will probably be located at <code>/etc/hosts</code> or
+<p>You can read more about the hosts file at <a
+more about DNS at <a
+<section id="configuration">
+<title>Configuration Files and Directives</title>
+<section id="content">
+<title>Web Site Content</title>
+<section id="logs">
+<title>Log Files and Troubleshooting</title>
+<section id="other">
+<title>What Else Do I Need To Know?</title>

View raw message