On Sat, Feb 09, 2002 at 08:54:16PM -0000, [EMAIL PROTECTED] wrote: > rbowen 02/02/09 12:54:16 > > Modified: htdocs/manual/mod core.html.en > Log: > Added example to ServerAlias doc. > > + <p>Example:</p> > + > + <pre> > + <VirtualHost *> > + ServerName server.domain.com > + ServerAlias server server2.domain.com server2
I just noticed that domain.com and mydomain.com should not appear in the docs: they have been registered: % whois domain.com Domain Name: DOMAIN.COM Registrar: DOMAIN BANK, INC. Whois Server: rs.domainbank.net Referral URL: http://www.domainbank.net Name Server: DNS1.DOMAINBANK.NET Name Server: DNS2.DOMAINBANK.NET Name Server: NS.ZOCALO.NET Updated Date: 06-dec-2001 % whois =mydomain.com ... Domain Name: MYDOMAIN.COM Registrar: NAMESDIRECT.COM, INC. Whois Server: whois.namesdirect.com Referral URL: http://www.namesdirect.com Name Server: NS1.MYDOMAIN.COM Name Server: NS2.MYDOMAIN.COM Name Server: NS3.MYDOMAIN.COM Name Server: NS4.MYDOMAIN.COM Updated Date: 19-dec-2001 ... Should the docu be updated like this, to prevent valid names from appearing in the examples? Martin Index: misc/FAQ-E.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/FAQ-E.html,v retrieving revision 1.17 diff -u -r1.17 FAQ-E.html --- misc/FAQ-E.html 30 Jan 2002 15:51:28 -0000 1.17 +++ misc/FAQ-E.html 15 Feb 2002 11:46:01 -0000 @@ -98,9 +98,9 @@ <li><a href="#set-servername">Why does accessing directories only work when I include the trailing "/" - (<em>e.g.</em>, <samp>http://foo.domain.com/~user/</samp>) + (<em>e.g.</em>, <samp>http://foo.dom.ain/~user/</samp>) but not when I omit it - (<em>e.g.</em>, <samp>http://foo.domain.com/~user</samp>)?</a></li> + (<em>e.g.</em>, <samp>http://foo.dom.ain/~user</samp>)?</a></li> <li><a href="#no-info-directives">Why doesn't mod_info list any directives?</a></li> @@ -458,9 +458,9 @@ <a id="set-servername" name="set-servername"><strong>Why does accessing directories only work when I include the trailing "/" - (<em>e.g.</em>, <samp>http://foo.domain.com/~user/</samp>) + (<em>e.g.</em>, <samp>http://foo.dom.ain/~user/</samp>) but not when I omit it - (<em>e.g.</em>, <samp>http://foo.domain.com/~user</samp>)?</strong></a> + (<em>e.g.</em>, <samp>http://foo.dom.ain/~user</samp>)?</strong></a> <p>When you access a directory without a trailing "/", Index: misc/FAQ-G.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/FAQ-G.html,v retrieving revision 1.7 diff -u -r1.7 FAQ-G.html --- misc/FAQ-G.html 8 Oct 2001 01:26:54 -0000 1.7 +++ misc/FAQ-G.html 15 Feb 2002 11:46:01 -0000 @@ -197,12 +197,12 @@ restrictions be met. For example, adding the following configuration to a <samp>.htaccess</samp> or server configuration file would restrict access to people who - either are accessing the site from a host under domain.com + either are accessing the site from a host under dom.ain or who can supply a valid username and password:</p> <dl> <dd><code>Deny from all<br /> - Allow from .domain.com<br /> + Allow from .dom.ain<br /> AuthType Basic<br /> AuthUserFile /usr/local/apache/conf/htpasswd.users<br /> AuthName "special directory"<br /> Index: misc/rewriteguide.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/rewriteguide.html,v retrieving revision 1.15 diff -u -r1.15 rewriteguide.html --- misc/rewriteguide.html 30 Dec 2001 18:08:58 -0000 1.15 +++ misc/rewriteguide.html 15 Feb 2002 11:46:02 -0000 @@ -660,7 +660,7 @@ <dt><strong>Description:</strong></dt> <dd>Assume that you want to provide - <code>www.<strong>username</strong>.host.domain.com</code> + <code>www.<strong>username</strong>.host.dom.ain</code> for the homepage of username via just DNS A records to the same machine and without any virtualhosts on this machine.</dd> @@ -698,7 +698,7 @@ <dd>We want to redirect homedir URLs to another webserver <code>www.somewhere.com</code> when the requesting user does not stay in the local domain - <code>ourdomain.com</code>. This is sometimes used in + <code>ourdom.ain</code>. This is sometimes used in virtual host contexts.</dd> <dt><strong>Solution:</strong></dt> @@ -2275,7 +2275,7 @@ <td> <pre> RewriteCond %{REMOTE_HOST} <strong>^badhost\.mydomain\.com$</strong> -RewriteRule !^http://[^/.]\.mydomain.com.* - [F] +RewriteRule !^http://[^/.]\.mydom.ain.* - [F] </pre> </td> </tr> @@ -2289,7 +2289,7 @@ <td> <pre> RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} <strong>^badguy@badhost\.mydomain\.com$</strong> -RewriteRule !^http://[^/.]\.mydomain.com.* - [F] +RewriteRule !^http://[^/.]\.mydom.ain.* - [F] </pre> </td> </tr> Index: mod/core.html.en =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.en,v retrieving revision 1.218 diff -u -r1.218 core.html.en --- mod/core.html.en 12 Feb 2002 18:18:44 -0000 1.218 +++ mod/core.html.en 15 Feb 2002 11:46:03 -0000 @@ -3314,8 +3314,8 @@ <pre> <VirtualHost *> - ServerName server.domain.com - ServerAlias server server2.domain.com server2 + ServerName server.dom.ain + ServerAlias server server2.dom.ain server2 ... </VirtualHost> </pre> @@ -3703,10 +3703,10 @@ type a shortname, and a URL which is a directory, such as <code>http://www/splat</code>, <em>without the trailing slash</em> then Apache will redirect them to - <code>http://www.domain.com/splat/</code>. If you have + <code>http://www.dom.ain/splat/</code>. If you have authentication enabled, this will cause the user to have to reauthenticate twice (once for <code>www</code> and once again - for <code>www.domain.com</code>). But if + for <code>www.dom.ain</code>). But if <code>UseCanonicalName</code> is set off, then Apache will redirect to <code>http://www/splat/</code>.</p> Index: mod/core.html.fr =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/core.html.fr,v retrieving revision 1.5 diff -u -r1.5 core.html.fr --- mod/core.html.fr 8 Oct 2001 01:34:30 -0000 1.5 +++ mod/core.html.fr 15 Feb 2002 11:46:07 -0000 @@ -3860,13 +3860,13 @@ court et que l'URL est un répertoire tel que <code>http://www/splat</code>, <em>sans le caractère oblique / final</em> , Apache redirigera la requête vers - <code>http://www.domain.com/splat/</code>. Si vous avez une + <code>http://www.dom.ain/splat/</code>. Si vous avez une authentification active, lu'tilisateur devra s'authentifier deux fois, (une première fois pour <code>www</code> et une deuxième fois pour An example where this may be useful is on an intranet server where you have users connecting to the machine using short names such as . You'll notice that - if the users type a <code>www.domain.com</code>). Mais si la + if the users type a <code>www.dom.ain</code>). Mais si la directive <code>UseCanonicalName</code> est à off, Apache redirigera vers <code>http://www/splat/</code>.</p> Index: mod/mod_proxy.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_proxy.html,v retrieving revision 1.58 diff -u -r1.58 mod_proxy.html --- mod/mod_proxy.html 27 Jan 2002 22:08:30 -0000 1.58 +++ mod/mod_proxy.html 15 Feb 2002 11:46:09 -0000 @@ -333,7 +333,7 @@ <pre> ProxyRemote http://goodguys.com/ http://mirrorguys.com:8000 ProxyRemote * http://cleversite.com - ProxyRemote ftp http://ftpproxy.mydomain.com:8080 + ProxyRemote ftp http://ftpproxy.mydom.ain:8080 </pre> In the last example, the proxy will forward FTP requests, encapsulated as yet another HTTP proxy request, to another @@ -611,7 +611,7 @@ Note: Domain name comparisons are done without regard to the case, and <em>Domain</em>s are always assumed to be anchored in the root of the DNS tree, therefore two domains - <samp>.MyDomain.com</samp> and <samp>.mydomain.com.</samp> + <samp>.MyDom.ain</samp> and <samp>.mydom.ain.</samp> (note the trailing period) are considered equal. Since a domain comparison does not involve a DNS lookup, it is much more efficient than subnet comparison. @@ -695,7 +695,7 @@ regard to the case, and <em>Hostname</em>s are always assumed to be anchored in the root of the DNS tree, therefore two hosts <samp>WWW.MyDomain.com</samp> and - <samp>www.mydomain.com.</samp> (note the trailing period) + <samp>www.mydom.ain.</samp> (note the trailing period) are considered equal.<br /> Index: mod/mod_setenvif.html.en =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_setenvif.html.en,v retrieving revision 1.18 diff -u -r1.18 mod_setenvif.html.en --- mod/mod_setenvif.html.en 8 Oct 2001 01:34:31 -0000 1.18 +++ mod/mod_setenvif.html.en 15 Feb 2002 11:46:09 -0000 @@ -279,7 +279,7 @@ <samp>object_is_image</samp> if the request was for an image file, and the fourth sets <samp>intra_site_referral</samp> if the referring page was somewhere on the - <samp>www.mydomain.com</samp> Web site.</p> + <samp>www.mydom.ain</samp> Web site.</p> <hr /> <!-- the HR is part of the directive description --> Index: mod/mod_setenvif.html.ja.jis =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_setenvif.html.ja.jis,v retrieving revision 1.1 diff -u -r1.1 mod_setenvif.html.ja.jis --- mod/mod_setenvif.html.ja.jis 26 Apr 2001 03:38:39 -0000 1.1 +++ mod/mod_setenvif.html.ja.jis 15 Feb 2002 11:46:09 -0000 @@ -349,7 +349,7 @@ <p> $B@hF,$N;0$D$O%j%/%(%9%H$,2hA|%U%!%$%k$N$H$-$K!"4D6-JQ?t(B <samp>object_is_image</samp> $B$r@_Dj$7$^$9!#(B4 $BHVL\$O;2>H85$N%Z!<%8$,(B - <samp>www.mydomain.com</samp> $B%&%'%V%5%$%H$N$I$3$+$K$"$k>l9g$K(B + <samp>www.mydom.ain</samp> $B%&%'%V%5%$%H$N$I$3$+$K$"$k>l9g$K(B <samp>intra_site_referral</samp> $B$r@_Dj$7$^$9!#(B </p> -- <[EMAIL PROTECTED]> | Fujitsu Siemens Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730 Munich, Germany