-<Directory /www/data/>
- SetOutputFilter INCLUDES
-</Directory>
+
+ <Directory /www/data/>
+
+ SetOutputFilter INCLUDES
+
+ </Directory>
If more than one filter is specified, they must be separated
@@ -2571,12 +2605,13 @@ port
reverse DNS lookup on the server IP address that the client
connected to in order to work out self-referential URLs.
- Warning: if CGIs make assumptions about the
- values of SERVER_NAME they may be broken by this
- option. The client is essentially free to give whatever value
- they want as a hostname. But if the CGI is only using
- SERVER_NAME to construct self-referential URLs
+ Warning:
+ If CGIs make assumptions about the values of SERVER_NAME
+ they may be broken by this option. The client is essentially free
+ to give whatever value they want as a hostname. But if the CGI is
+ only using SERVER_NAME to construct self-referential URLs
then it should be just fine.
+
ServerName
Listen
@@ -2616,11 +2651,13 @@ hostname or IP address
Example
<VirtualHost 10.1.2.3>
- ServerAdmin webmaster@host.foo.com
- DocumentRoot /www/docs/host.foo.com
- ServerName host.foo.com
- ErrorLog logs/host.foo.com-error_log
- TransferLog logs/host.foo.com-access_log
+
+ ServerAdmin webmaster@host.foo.com
+ DocumentRoot /www/docs/host.foo.com
+ ServerName host.foo.com
+ ErrorLog logs/host.foo.com-error_log
+ TransferLog logs/host.foo.com-access_log
+
</VirtualHost>
@@ -2631,11 +2668,13 @@ hostname or IP address
<VirtualHost [fe80::a00:20ff:fea7:ccea]>
- ServerAdmin webmaster@host.example.com
- DocumentRoot /www/docs/host.example.com
- ServerName host.example.com
- ErrorLog logs/host.example.com-error_log
- TransferLog logs/host.example.com-access_log
+
+ ServerAdmin webmaster@host.example.com
+ DocumentRoot /www/docs/host.example.com
+ ServerName host.example.com
+ ErrorLog logs/host.example.com-error_log
+ TransferLog logs/host.example.com-access_log
+
</VirtualHost>
@@ -2647,6 +2686,13 @@ hostname or IP address
accomplished with the ifconfig alias command (if
your OS supports it).
+ Note
+ The use of VirtualHost does
+ not affect what addresses Apache listens on. You
+ may need to ensure that Apache is listening on the correct addresses
+ using Listen.
+
+
When using IP-based virtual hosting, the special name
_default_ can be specified in
which case this virtual host will match any IP address that is
@@ -2667,17 +2713,12 @@ hostname or IP address
to match all ports on that address. (This is recommended when used
with _default_.)
- SECURITY: See the security tips document
- for details on why your security could be compromised if the
+ Security
+ See the security tips
+ document for details on why your security could be compromised if the
directory where logfiles are stored is writable by anyone other
than the user that starts the server.
-
- NOTE: The use of VirtualHost does not
- affect what addresses Apache listens on. You may need to ensure
- that Apache is listening on the correct addresses using Listen.
+
Apache Virtual Host documentation
Warnings about DNS and
diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en
index f0b22a44af..35b5855aeb 100644
--- a/docs/manual/mod/quickreference.html.en
+++ b/docs/manual/mod/quickreference.html.en
@@ -457,7 +457,7 @@ a resource