From fbe5361d1c9602dd96953d9d0a5ea4a5965e9e80 Mon Sep 17 00:00:00 2001
From: dgaudet
Date: Sun, 19 Apr 1998 20:10:43 +0000
Subject: [PATCH] This should help folks trying to understand vhosts. It adds
the command line option -S which dumps a description of how apache parsed the
vhost directives. In particular it'd really help the folks who recently ran
into /etc/hosts mismatches with DNS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80965 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/invoking.html | 4 ++++
docs/manual/invoking.html.en | 4 ++++
docs/manual/vhosts/index.html | 6 ++++++
docs/manual/vhosts/index.html.en | 6 ++++++
4 files changed, 20 insertions(+)
diff --git a/docs/manual/invoking.html b/docs/manual/invoking.html
index 1eff24f2d1..e7767cbbdf 100644
--- a/docs/manual/invoking.html
+++ b/docs/manual/invoking.html
@@ -59,6 +59,10 @@ places where the directive is valid. (New in Apache 1.2)
-l
Give a list of all modules compiled into the server.
+-S
+Show the settings as parsed from the config file (currently only
+shows a breakdown of the vhost settings).
+
-?
Print a list of the httpd options, and then exit.
diff --git a/docs/manual/invoking.html.en b/docs/manual/invoking.html.en
index 1eff24f2d1..e7767cbbdf 100644
--- a/docs/manual/invoking.html.en
+++ b/docs/manual/invoking.html.en
@@ -59,6 +59,10 @@ places where the directive is valid. (New in Apache 1.2)
-l
Give a list of all modules compiled into the server.
+-S
+Show the settings as parsed from the config file (currently only
+shows a breakdown of the vhost settings).
+
-?
Print a list of the httpd options, and then exit.
diff --git a/docs/manual/vhosts/index.html b/docs/manual/vhosts/index.html
index d2df6e0824..be02eaa4d7 100644
--- a/docs/manual/vhosts/index.html
+++ b/docs/manual/vhosts/index.html
@@ -53,6 +53,12 @@ of virtual host support in Apache version 1.3 and later.
ServerPath
+Folks trying to debug their virtual host configuration may find the
+Apache -S
command line switch useful. It will dump out a
+description of how Apache parsed the configuration file. Careful
+examination of the IP addresses and server names may help uncover
+configuration mistakes.
+