dgaudet 97/10/07 12:44:41
Modified: htdocs/manual new_features_1_3.html upgrading_to_1_3.html
src CHANGES
Log:
Doc the vhost changes.
Revision Changes Path
1.26 +9 -0 apachen/htdocs/manual/new_features_1_3.html
Index: new_features_1_3.html
===================================================================
RCS file: /export/home/cvs/apachen/htdocs/manual/new_features_1_3.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- new_features_1_3.html 1997/10/04 18:43:28 1.25
+++ new_features_1_3.html 1997/10/07 19:44:36 1.26
@@ -310,6 +310,15 @@
files. So you will see errors in the config file. This should make
it easier to start Apache via rsh or crontab.
+<li><strong>Improved HTTP/1.1-style Virtual Hosts</strong><br>
+ The new (undocumented) <a href="mod/core.html#namevirtualhost"><code>
+ NameVirtualHost</code></a> directive is used to list ip address:port
+ pairs on which HTTP/1.1-style virtual hosting occurs. This is
+ vhosting based on the <code>Host:</code> header from the client.
+ Previously this address was implicitly the same as the "main address"
+ of the machine, and this caused no end of problems for users, and
+ was not powerful enough.
+
<li><strong>API Additions</strong><br>
For all those module writers and code hackers:
1.2 +12 -0 apachen/htdocs/manual/upgrading_to_1_3.html
Index: upgrading_to_1_3.html
===================================================================
RCS file: /export/home/cvs/apachen/htdocs/manual/upgrading_to_1_3.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- upgrading_to_1_3.html 1997/10/06 03:06:36 1.1
+++ upgrading_to_1_3.html 1997/10/07 19:44:37 1.2
@@ -63,6 +63,18 @@
<h3>Run-Time Configuration Changes</h3>
<ul>
+ <li>Folks using HTTP/1.1-style virtual hosting will need to list the
+ ip:port pairs that are supposed to have HTTP/1.1-style virtual hosting
+ via the (undocumented) <a href="mod/core.html#namevirtualhost"><code>
+ NameVirtualHost</code></a> directive. Previously this support was
+ given implicitly on the "main server address". Now it has to be
+ explicitly listed so as to avoid many problems that users had.
+
+ <li>The precedence of virtual hosts has been reversed (applies mainly to
+ vhosts using HTTP/1.1 Host: headers, and the
+ <a href="mod/core.html#serverpath">ServerPath</a> directive). Now
+ the earlier vhosts in the file have precedence over the later vhosts.
+
<li><code>HostnameLookups</code> defaults to Off.
<li>The undocumented
1.460 +8 -0 apachen/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apachen/src/CHANGES,v
retrieving revision 1.459
retrieving revision 1.460
diff -u -r1.459 -r1.460
--- CHANGES 1997/10/07 06:05:20 1.459
+++ CHANGES 1997/10/07 19:44:39 1.460
@@ -1,5 +1,13 @@
Changes with Apache 1.3b1
+ *) Yet another vhost revamp. Add the NameVirtualHost directive which
+ explicitly lists the ip:port pairs that are to be used for name-vhosts.
+ From a given ip:port, regardless what the Host: header is, you can
+ only reach the vhosts defined on that ip:port. The precedence of
+ vhosts was reversed to match other precedences in the config --
+ the earlier vhosts override the later vhosts. All vhost matching was
+ moved into http_vhost.[ch]. [Dean Gaudet]
+
*) ap_inline can be used to force inlining. GNUC __attribute__() can
be used for whatever reason is appropriate (i.e. format() warnings
for printf style functions). Both are enabled only with