]> granicus.if.org Git - apache/commitdiff
Quote ScriptAlias and DocumentRoot arguments.
authorKen Coar <coar@apache.org>
Wed, 15 Apr 2015 18:17:34 +0000 (18:17 +0000)
committerKen Coar <coar@apache.org>
Wed, 15 Apr 2015 18:17:34 +0000 (18:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673917 13f79535-47bb-0310-9956-ffa450edef68

39 files changed:
docs/manual/expr.xml.fr
docs/manual/howto/cgi.html.en
docs/manual/howto/cgi.xml
docs/manual/misc/perf-scaling.html.en
docs/manual/misc/perf-scaling.xml
docs/manual/misc/perf-tuning.html.en
docs/manual/misc/perf-tuning.xml
docs/manual/mod/core.html.en
docs/manual/mod/core.xml
docs/manual/mod/mod_alias.xml.fr
docs/manual/mod/mod_alias.xml.ja
docs/manual/mod/mod_alias.xml.ko
docs/manual/mod/mod_alias.xml.tr
docs/manual/mod/mod_macro.html.en
docs/manual/mod/mod_macro.xml
docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml
docs/manual/mod/mod_rewrite.xml.fr
docs/manual/mod/mod_vhost_alias.html.en
docs/manual/mod/mod_vhost_alias.xml
docs/manual/rewrite/flags.html.fr
docs/manual/rewrite/flags.xml.fr
docs/manual/rewrite/flags.xml.meta
docs/manual/sections.xml.fr
docs/manual/sections.xml.ja
docs/manual/sections.xml.ko
docs/manual/sections.xml.tr
docs/manual/urlmapping.html.fr
docs/manual/urlmapping.xml.fr
docs/manual/urlmapping.xml.ja
docs/manual/urlmapping.xml.ko
docs/manual/urlmapping.xml.meta
docs/manual/urlmapping.xml.tr
docs/manual/vhosts/examples.html.en
docs/manual/vhosts/examples.xml
docs/manual/vhosts/mass.html.en
docs/manual/vhosts/mass.xml
docs/manual/vhosts/name-based.html.en
docs/manual/vhosts/name-based.xml

index 63a0e175cda3675bb0b6055984f0c15cd219cb3d..ad43fdb4d3053e1e30e15e1f87821045348d1311 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
-<!-- English Revision: 1663123:1673892 (outdated) -->
+<!-- English Revision: 1663123:1673908 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 5a7c34f8280ea10907920fa927dcd621ccf931d2..cfe760999a032bdb6be41c9ea33391c3820a25fb 100644 (file)
@@ -83,7 +83,7 @@
       <p>The <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code>
       directive looks like:</p>
 
-      <pre class="prettyprint lang-config">ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/</pre>
+      <pre class="prettyprint lang-config">ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"</pre>
 
 
       <p>The example shown is from your default <code>httpd.conf</code>
index 9ca0e6b4361fe5f005b5da907ca3a5b282685ab5..d3aaa004b1f985bc67c2070cf1d3b8c65a8b12d0 100644 (file)
@@ -84,7 +84,7 @@
       directive looks like:</p>
 
       <highlight language="config">
-        ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
+ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"
       </highlight>
 
       <p>The example shown is from your default <code>httpd.conf</code>
index be5acff59e22fdccb4885fa235787feeec221012..d36860e04b1b29979d08860df2c59c885dbdbb49 100644 (file)
@@ -1298,7 +1298,7 @@ Swap:       3903784      12540  3891244</pre></div>
       ErrorLog /home/sctemme/inst/blog/httpd/logs/error_log
       LogLevel debug
       CustomLog /home/sctemme/inst/blog/httpd/logs/access_log common
-      ScriptAlias /cgi-bin/ /home/sctemme/inst/blog/bin/
+      ScriptAlias "/cgi-bin/" "/home/sctemme/inst/blog/bin/"
       &lt;Directory "/home/sctemme/inst/blog/bin"&gt;
           Options +ExecCGI
           Require all granted
index cb88b8bf11312c19fb4be7dcdcaf8b57407700d0..10289c5ddb0874dca70c9b81fcc2b97c9967f083 100644 (file)
@@ -1297,7 +1297,7 @@ Listen *:8001
       ErrorLog /home/sctemme/inst/blog/httpd/logs/error_log
       LogLevel debug
       CustomLog /home/sctemme/inst/blog/httpd/logs/access_log common
-      ScriptAlias /cgi-bin/ /home/sctemme/inst/blog/bin/
+      ScriptAlias "/cgi-bin/" "/home/sctemme/inst/blog/bin/"
       &lt;Directory "/home/sctemme/inst/blog/bin"&gt;
           Options +ExecCGI
           Require all granted
index 4f36d3676f5e7da31de6c16365d314498e28dc05..b698fd055050a366f6d85da3018a314bf297c475 100644 (file)
       system calls to check up on symlinks. One extra call per
       filename component. For example, if you had:</p>
 
-      <pre class="prettyprint lang-config">DocumentRoot /www/htdocs
+      <pre class="prettyprint lang-config">DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   Options SymLinksIfOwnerMatch
 &lt;/Directory&gt;</pre>
       every single request. If you really desire the symlinks
       security checking you can do something like this:</p>
 
-      <pre class="prettyprint lang-config">DocumentRoot /www/htdocs
+      <pre class="prettyprint lang-config">DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   Options FollowSymLinks
 &lt;/Directory&gt;
       <code>.htaccess</code> for each filename component. For
       example,</p>
 
-      <pre class="prettyprint lang-config">DocumentRoot /www/htdocs
+      <pre class="prettyprint lang-config">DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   AllowOverride all
 &lt;/Directory&gt;</pre>
index 6853e68e27b729615dd1238f518c7d4777747ddb..5429f0b8727f1cc83ea3d19b9c8d7da70d52aea1 100644 (file)
@@ -176,7 +176,7 @@ HostnameLookups off
       filename component. For example, if you had:</p>
 
       <highlight language="config">
-DocumentRoot /www/htdocs
+DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   Options SymLinksIfOwnerMatch
 &lt;/Directory&gt;
@@ -191,7 +191,7 @@ DocumentRoot /www/htdocs
       security checking you can do something like this:</p>
 
       <highlight language="config">
-DocumentRoot /www/htdocs
+DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   Options FollowSymLinks
 &lt;/Directory&gt;
@@ -222,7 +222,7 @@ DocumentRoot /www/htdocs
       example,</p>
 
       <highlight language="config">
-DocumentRoot /www/htdocs
+DocumentRoot "/www/htdocs"
 &lt;Directory "/"&gt;
   AllowOverride all
 &lt;/Directory&gt;
index ae927b47c40e5873ea1b9848479a20b259f5ec3f..1f60fc16d96ad114002451c13034b0d27aa887ab 100644 (file)
@@ -804,7 +804,7 @@ which no other media type configuration could be found.
   Define SSL
 &lt;/IfDefine&gt;
 
-DocumentRoot /var/www/${servername}/htdocs</pre>
+DocumentRoot "/var/www/${servername}/htdocs"</pre>
 
 
     <p>Variable names may not contain colon ":" characters, to avoid clashes
@@ -4538,7 +4538,7 @@ hostname or IP address</td></tr>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost 10.1.2.3:80&gt;
   ServerAdmin webmaster@host.example.com
-  DocumentRoot /www/docs/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
@@ -4552,7 +4552,7 @@ hostname or IP address</td></tr>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80&gt;
   ServerAdmin webmaster@host.example.com
-  DocumentRoot /www/docs/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
index 113103e4e6d96539506683fb6d02e70a196809f5..7eac6064be0b0b8e4ae538fa3ff091723fe3ce88 100644 (file)
@@ -741,7 +741,7 @@ which no other media type configuration could be found.
   Define SSL
 &lt;/IfDefine&gt;
 
-DocumentRoot /var/www/${servername}/htdocs
+DocumentRoot "/var/www/${servername}/htdocs"
     </highlight>
 
     <p>Variable names may not contain colon ":" characters, to avoid clashes
@@ -968,7 +968,9 @@ from the web</description>
     path from the requested URL to the document root to make the
     path to the document. Example:</p>
 
-    <highlight language="config">DocumentRoot "/usr/web"</highlight>
+    <highlight language="config">
+DocumentRoot "/usr/web"
+    </highlight>
 
     <p>then an access to
     <code>http://my.example.com/index.html</code> refers to
@@ -4493,7 +4495,7 @@ hostname or IP address</description>
     <highlight language="config">
 &lt;VirtualHost 10.1.2.3:80&gt;
   ServerAdmin webmaster@host.example.com
-  DocumentRoot /www/docs/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
@@ -4508,7 +4510,7 @@ hostname or IP address</description>
     <highlight language="config">
 &lt;VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80&gt;
   ServerAdmin webmaster@host.example.com
-  DocumentRoot /www/docs/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
index 2ae81f8d7e2aea59a7c00d71ceb15715728e02be..d3823a86f4e4371924d0288fd8b2457f9588b7fa 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1653941:1673892 (outdated) -->
+<!-- English Revision: 1653941:1673908 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 9aa7876e257cc103c1930b1478b0d7ba4abd2409..b961c026a43f484bad14223e83e71ca2c5b4df68 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 151408:1673892 (outdated) -->
+<!-- English Revision: 151408:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 02d35f164a8c43643a7e552ab3b6080bc578e8f4..acf2bb37f84fe482fc53442dd13e831f7eb0b0bf 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:1673892 (outdated) -->
+<!-- English Revision: 151408:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 1e379c7d73e7947ea4d4083b41d3096ffc18049a..bbdb160279257c9440007226fe55d66086908b0c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1174747:1673892 (outdated) -->
+<!-- English Revision: 1174747:1673908 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index d0ca761009032af0688fec4265dcc781ffd41507..00e2792a8b50bf086bf53c2b5409a5b243a1e4f3 100644 (file)
@@ -69,7 +69,7 @@ multiple similar virtual hosts:</p>
     ServerName $domain
     ServerAlias www.$domain
 
-    DocumentRoot /var/www/vhosts/$name
+    DocumentRoot "/var/www/vhosts/$name"
     ErrorLog /var/log/httpd/$name.error_log
     CustomLog /var/log/httpd/$name.access_log combined
 &lt;/VirtualHost&gt;
@@ -125,7 +125,7 @@ confusion, the longest possible parameter name is used.</p>
 surround the parameter in braces, to avoid confusion:</p>
 
 <pre class="prettyprint lang-config">&lt;Macro DocRoot ${docroot}&gt;
-    DocumentRoot /var/www/${docroot}/htdocs
+    DocumentRoot "/var/www/${docroot}/htdocs"
 &lt;/Macro&gt;</pre>
 
 
@@ -147,7 +147,7 @@ dynamically-generated virtual hosts.</p>
   &lt;VirtualHost *:$port&gt;
 
     ServerName $host
-    DocumentRoot $dir
+    DocumentRoot "$dir"
 
     # Public document root
     &lt;Directory "$dir"&gt;
index d0735e730ffa2217725ad26605437f71e8a74a9e..00829cd2b7f73c6f2b5ad3c84de69202951fb7b1 100644 (file)
@@ -55,7 +55,7 @@ multiple similar virtual hosts:</p>
     ServerName $domain
     ServerAlias www.$domain
 
-    DocumentRoot /var/www/vhosts/$name
+    DocumentRoot "/var/www/vhosts/$name"
     ErrorLog /var/log/httpd/$name.error_log
     CustomLog /var/log/httpd/$name.access_log combined
 &lt;/VirtualHost&gt;
@@ -114,7 +114,7 @@ surround the parameter in braces, to avoid confusion:</p>
 
 <highlight language="config">
 &lt;Macro DocRoot ${docroot}&gt;
-    DocumentRoot /var/www/${docroot}/htdocs
+    DocumentRoot "/var/www/${docroot}/htdocs"
 &lt;/Macro&gt;
 </highlight>
 
@@ -137,7 +137,7 @@ dynamically-generated virtual hosts.</p>
   &lt;VirtualHost *:$port&gt;
 
     ServerName $host
-    DocumentRoot $dir
+    DocumentRoot "$dir"
 
     # Public document root
     &lt;Directory "$dir"&gt;
index c59ca4b5a77de237366fa7619a12855892504871..ef26e12bcdba2dc098789127b51709c20f0648b2 100644 (file)
@@ -141,7 +141,7 @@ URLs on the fly</td></tr>
     since the resource was not relative to the document root.  This 
     misconfiguration would normally cause the server to look for an "opt"
     directory under the document root.</p>
-<pre class="prettyprint lang-config">DocumentRoot /var/www/example.com
+<pre class="prettyprint lang-config">DocumentRoot "/var/www/example.com"
 AliasMatch "^/myapp" "/opt/myapp-1.2.3"
 &lt;Directory "/opt/myapp-1.2.3"&gt;
     RewriteEngine On
index 05c715cbe646a4b8dfca1c0db645559d3c6d4bc8..deac92d367abc475bb0a47541e0e889b187e59ad 100644 (file)
@@ -409,7 +409,7 @@ URLs on the fly</description>
     misconfiguration would normally cause the server to look for an "opt"
     directory under the document root.</p>
 <highlight language="config">
-DocumentRoot /var/www/example.com
+DocumentRoot "/var/www/example.com"
 AliasMatch "^/myapp" "/opt/myapp-1.2.3"
 &lt;Directory "/opt/myapp-1.2.3"&gt;
     RewriteEngine On
index 155632832590ebea8e029b6fee71e483cf0c2327..5b1bbde57e6af2cfe357851520147b8bbdd6912f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1668875:1673892 (outdated) -->
+<!-- English Revision: 1668875:1673908 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index c7d0657cb96105489b8ff2f4668c6dc12e9a68be..3d88bbf10cca7d221ce6a902ca7317a4d828bd73 100644 (file)
@@ -48,8 +48,8 @@ hosting</td></tr>
       /cgi-bin/script.pl</code> to <code>
       /usr/local/apache2/cgi-bin/script.pl</code> in all cases:</p>
 
-      <pre class="prettyprint lang-config">ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
-VirtualScriptAlias /never/found/%0/cgi-bin/</pre>
+      <pre class="prettyprint lang-config">ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"
+VirtualScriptAlias "/never/found/%0/cgi-bin/"</pre>
 
     </div>
 </div>
@@ -143,7 +143,7 @@ VirtualScriptAlias /never/found/%0/cgi-bin/</pre>
     following directives in your server configuration file:</p>
 
     <pre class="prettyprint lang-config">UseCanonicalName    Off
-VirtualDocumentRoot /usr/local/apache/vhosts/%0</pre>
+VirtualDocumentRoot "/usr/local/apache/vhosts/%0"</pre>
 
 
     <p>A request for
@@ -158,7 +158,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%0</pre>
     following in your configuration file:</p>
 
     <pre class="prettyprint lang-config">UseCanonicalName    Off
-VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2</pre>
+VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2"</pre>
 
 
     <p>A request for
@@ -169,7 +169,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2</pre>
     <p>A more even spread of files can be achieved by hashing from the
     end of the name, for example: </p>
 
-<pre class="prettyprint lang-config">VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2</pre>
+<pre class="prettyprint lang-config">VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2"</pre>
 
 
     <p>The example request would come from
@@ -177,7 +177,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2</pre>
 
     <p>Alternatively you might use: </p>
 
-<pre class="prettyprint lang-config">VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+</pre>
+<pre class="prettyprint lang-config">VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+"</pre>
 
 
     <p>The example request would come from
@@ -205,8 +205,8 @@ or <code>example.com</code> will all point to <code>/usr/local/apache/vhosts/exa
     your configuration file:</p>
 
     <pre class="prettyprint lang-config">UseCanonicalName DNS
-VirtualDocumentRootIP /usr/local/apache/vhosts/%1/%2/%3/%4/docs
-VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin</pre>
+VirtualDocumentRootIP "/usr/local/apache/vhosts/%1/%2/%3/%4/docs"
+VirtualScriptAliasIP  "/usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin"</pre>
 
 
     <p>A request for
@@ -224,7 +224,7 @@ VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin</pre>
     a <code>%</code> directive, you can work around the problem in
     the following way:</p>
 
-<pre class="prettyprint lang-config">VirtualDocumentRoot /usr/local/apache/vhosts/%2.0.%3.0</pre>
+    <pre class="prettyprint lang-config">VirtualDocumentRoot "/usr/local/apache/vhosts/%2.0.%3.0"</pre>
 
 
     <p>A request for
index 4b7eb17c22c9ae773c0ce5e805ea7fe5d6d18218..c70950b53f296f98a7429e9628ff935e4c4766f3 100644 (file)
@@ -45,8 +45,8 @@ hosting</description>
       /usr/local/apache2/cgi-bin/script.pl</code> in all cases:</p>
 
       <highlight language="config">
-ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
-VirtualScriptAlias /never/found/%0/cgi-bin/
+ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"
+VirtualScriptAlias "/never/found/%0/cgi-bin/"
       </highlight>
     </note>
 </summary>
@@ -128,7 +128,7 @@ VirtualScriptAlias /never/found/%0/cgi-bin/
 
     <highlight language="config">
 UseCanonicalName    Off
-VirtualDocumentRoot /usr/local/apache/vhosts/%0
+VirtualDocumentRoot "/usr/local/apache/vhosts/%0"
     </highlight>
 
     <p>A request for
@@ -144,7 +144,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%0
 
     <highlight language="config">
 UseCanonicalName    Off
-VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
+VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2"
     </highlight>
 
     <p>A request for
@@ -156,7 +156,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
     end of the name, for example: </p>
 
 <highlight language="config">
-    VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2
+VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.-1/%2.-2/%2.-3/%2"
 </highlight>
 
     <p>The example request would come from
@@ -165,7 +165,7 @@ VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2
     <p>Alternatively you might use: </p>
 
 <highlight language="config">
-    VirtualDocumentRoot /usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+
+VirtualDocumentRoot "/usr/local/apache/vhosts/%3+/%2.1/%2.2/%2.3/%2.4+"
 </highlight>
 
     <p>The example request would come from
@@ -183,7 +183,7 @@ to the hostname. As such, one can make a configuration that will direct all firs
 or third level subdomains to the same directory:
 </p>
 <highlight language="config">
-    VirtualDocumentRoot "/usr/local/apache/vhosts/%-2.0.%-1.0"
+VirtualDocumentRoot "/usr/local/apache/vhosts/%-2.0.%-1.0"
 </highlight>
 <p>
 In the example above, both <code>www.example.com</code> as well as <code>www.sub.example.com</code>
@@ -195,8 +195,8 @@ or <code>example.com</code> will all point to <code>/usr/local/apache/vhosts/exa
 
     <highlight language="config">
 UseCanonicalName DNS
-VirtualDocumentRootIP /usr/local/apache/vhosts/%1/%2/%3/%4/docs
-VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin
+VirtualDocumentRootIP "/usr/local/apache/vhosts/%1/%2/%3/%4/docs"
+VirtualScriptAliasIP  "/usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin"
     </highlight>
 
     <p>A request for
@@ -214,9 +214,9 @@ VirtualScriptAliasIP  /usr/local/apache/vhosts/%1/%2/%3/%4/cgi-bin
     a <code>%</code> directive, you can work around the problem in
     the following way:</p>
 
-<highlight language="config">
-    VirtualDocumentRoot /usr/local/apache/vhosts/%2.0.%3.0
-</highlight>
+    <highlight language="config">
+VirtualDocumentRoot "/usr/local/apache/vhosts/%2.0.%3.0"
+    </highlight>
 
     <p>A request for
     <code>http://www.domain.example.com/directory/file.html</code>
index c30df7093cddbc29fc970c4361dd0a9136830fa0..480d8b9a40a7c83a573da2ef037790584c120c88 100644 (file)
@@ -24,6 +24,8 @@
 <p><span>Langues Disponibles: </span><a href="../en/rewrite/flags.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
 <a href="../fr/rewrite/flags.html" title="Français">&nbsp;fr&nbsp;</a></p>
 </div>
+<div class="outofdate">Cette traduction peut Ãªtre périmée. Vérifiez la version
+            anglaise pour les changements récents.</div>
 
 <p>Ce document décrit les drapeaux disponibles dans la directive
 <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>, en fournissant
index 4ed3801dac9b51b21d95698577c9d85f7eba5265..b7a54570472bd563a8de99c816d610ed1af6f5c5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1585159 -->
+<!-- English Revision: 1585159:1673908 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 912229af035fb274402498f5449e79893fcdc4f0..e4f3ee6f49579d22f3ac151854846aa839f83758 100644 (file)
@@ -8,6 +8,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>
index e376d5a29f97df7124b39774227e3f13f96308d1..d2176b68ca721a68e29e7be9b308c7c3f584e12d 100644 (file)
@@ -3,7 +3,7 @@
 <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
-<!-- English Revision: 1636195:1673892 (outdated) -->
+<!-- English Revision: 1636195:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f6502a461952053d8411aff11f1cc517be08a913..8de16a1a57d78dac8c3fada2004690cb7fcfe71f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
-<!-- English Revision: 420990:1673892 (outdated) -->
+<!-- English Revision: 420990:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 158e8bf3e3790a30b6e2e1c655167928a887a1c7..bcf0582b4e800fa506f4aa0ce079310696f12be4 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1673892 (outdated) -->
+<!-- English Revision: 105989:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index d7855db10954368544148fd9d71c8edce0e30aee..50c367941b3b7ecb46fade3f7ed5030770ef5342 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1300910:1673892 (outdated) -->
+<!-- English Revision: 1300910:1673908 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index 0ef081ea4ee4b7dfff9d3e8118bf4723a80700a5..c91152ff035200441a933317b4f212e5e67a57fb 100644 (file)
@@ -27,6 +27,8 @@
 <a href="./ko/urlmapping.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
 <a href="./tr/urlmapping.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
 </div>
+<div class="outofdate">Cette traduction peut Ãªtre périmée. Vérifiez la version
+            anglaise pour les changements récents.</div>
 
     <p>Ce document explique comment le serveur HTTP Apache utilise l'URL contenue dans une
     requête pour déterminer le noeud du système de fichier Ã  partir duquel le
index 6c1272f9398cc6c1232b08c76e477a03bab14e70..1fda9e5b789ed1d9ba8747a81f5d4ce4acf211b8 100644 (file)
@@ -3,7 +3,7 @@
 <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
-<!-- English Revision: 1561569 -->
+<!-- English Revision: 1561569:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 2ff941117367820520b523ac7a7c50f21e554e3b..7b1068a051a39df9a4bfec31d86983e142c6e573 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
-<!-- English Revision: 151408:1561569 (outdated) -->
+<!-- English Revision: 151408:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 17d27ab75f229eb37bf05c6d66a5e142941715f6..f70e92a240dc71e15851321cf1ae2db3549aa535 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
-<!-- English Revision: 151408:1561569 (outdated) -->
+<!-- English Revision: 151408:1673908 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 9fd5f4bb52ab981e0d00cff74e6f9415a2541171..02fc1a16aa17e468458846f9cfc795babc37f10d 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
     <variant outdated="yes">tr</variant>
index dc267105194fcc3f9b97f263ed61d7f9cabe3f22..f48a1d4efac4fb2147d1115de0fd0ae4df5a4b3c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 1310494:1561569 (outdated) -->
+<!-- English Revision: 1310494:1673908 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index c38dbbc861f1a9fd01b8704f56c874ecf538b4f1..6b106770f13f94a32572d4ec85137f2bed9ff495 100644 (file)
     <pre class="prettyprint lang-config"># Ensure that Apache listens on port 80
 Listen 80
 &lt;VirtualHost *:80&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
   
     # Other directives here
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost *:80&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 
     # Other directives here
@@ -143,17 +143,17 @@ Listen 80
 
 # This is the "main" server running on 172.20.30.40
 ServerName server.example.com
-DocumentRoot /www/mainserver
+DocumentRoot "/www/mainserver"
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
     
     # Other directives here ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
     
     # Other directives here ...
@@ -184,7 +184,7 @@ DocumentRoot /www/mainserver
     section.</p>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost 192.168.1.1 172.20.30.40&gt;
-    DocumentRoot /www/server1
+    DocumentRoot "/www/server1"
     ServerName server.example.com
     ServerAlias server
 &lt;/VirtualHost&gt;</pre>
@@ -219,22 +219,22 @@ Listen 8080
 
 &lt;VirtualHost 172.20.30.40:80&gt;
     ServerName www.example.com
-    DocumentRoot /www/domain-80
+    DocumentRoot "/www/domain-80"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
     ServerName www.example.com
-    DocumentRoot /www/domain-8080
+    DocumentRoot "/www/domain-8080"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:80&gt;
     ServerName www.example.org
-    DocumentRoot /www/otherdomain-80
+    DocumentRoot "/www/otherdomain-80"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
     ServerName www.example.org
-    DocumentRoot /www/otherdomain-8080
+    DocumentRoot "/www/otherdomain-8080"
 &lt;/VirtualHost&gt;</pre>
 
 
@@ -250,12 +250,12 @@ Listen 8080
     <pre class="prettyprint lang-config">Listen 80
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 &lt;/VirtualHost&gt;</pre>
 
@@ -282,22 +282,22 @@ Listen 172.20.30.50:80
 Listen 172.20.30.50:8080
 
 &lt;VirtualHost 172.20.30.40:80&gt;
-    DocumentRoot /www/example1-80
+    DocumentRoot "/www/example1-80"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
-    DocumentRoot /www/example1-8080
+    DocumentRoot "/www/example1-8080"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50:80&gt;
-    DocumentRoot /www/example2-80
+    DocumentRoot "/www/example2-80"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50:8080&gt;
-    DocumentRoot /www/example2-8080
+    DocumentRoot "/www/example2-8080"
     ServerName www.example.org
 &lt;/VirtualHost&gt;</pre>
 
@@ -312,28 +312,28 @@ Listen 172.20.30.50:8080
 
     <pre class="prettyprint lang-config">Listen 80
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example3
+    DocumentRoot "/www/example3"
     ServerName www.example.net
 &lt;/VirtualHost&gt;
 
 # IP-based
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example4
+    DocumentRoot "/www/example4"
     ServerName www.example.edu
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.60&gt;
-    DocumentRoot /www/example5
+    DocumentRoot "/www/example5"
     ServerName www.example.gov
 &lt;/VirtualHost&gt;</pre>
 
@@ -372,7 +372,7 @@ Listen 172.20.30.50:8080
     any other virtual host.</p>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost _default_:*&gt;
-    DocumentRoot /www/default
+    DocumentRoot "/www/default"
 &lt;/VirtualHost&gt;</pre>
 
 
@@ -397,12 +397,12 @@ Listen 172.20.30.50:8080
     to use a second <code>_default_</code> vhost for port 80.</p>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost _default_:80&gt;
-    DocumentRoot /www/default80
+    DocumentRoot "/www/default80"
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost _default_:*&gt;
-    DocumentRoot /www/default
+    DocumentRoot "/www/default"
     # ...
 &lt;/VirtualHost&gt;</pre>
 
@@ -420,7 +420,7 @@ Listen 172.20.30.50:8080
     vhosts.</p>
 
     <pre class="prettyprint lang-config">&lt;VirtualHost _default_:80&gt;
-DocumentRoot /www/default
+    DocumentRoot "/www/default"
 ...
 &lt;/VirtualHost&gt;</pre>
 
@@ -452,16 +452,16 @@ DocumentRoot /www/default
 
     <pre class="prettyprint lang-config">Listen 80
 ServerName www.example.com
-DocumentRoot /www/example1
+DocumentRoot "/www/example1"
 
 &lt;VirtualHost 172.20.30.40 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example3
+    DocumentRoot "/www/example3"
     ServerName www.example.net
     ServerAlias *.example.net
     # ...
@@ -488,14 +488,14 @@ DocumentRoot /www/example1
 
     <pre class="prettyprint lang-config">&lt;VirtualHost 172.20.30.40&gt;
     # primary vhost
-    DocumentRoot /www/subdomain
+    DocumentRoot "/www/subdomain"
     RewriteEngine On
     RewriteRule . /www/subdomain/index.html
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-DocumentRoot /www/subdomain/sub1
+    DocumentRoot "/www/subdomain/sub1"
     ServerName www.sub1.domain.tld
     ServerPath /sub1/
     RewriteEngine On
@@ -504,7 +504,7 @@ DocumentRoot /www/subdomain/sub1
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/subdomain/sub2
+    DocumentRoot "/www/subdomain/sub2"
     ServerName www.sub2.domain.tld
     ServerPath /sub2/
     RewriteEngine On
index 0ea1ec5a44c9c892ef9ee9f0e2542ac7fe6c24c0..0fe2261e444b8e7881b9453495278bfe0f58c1a3 100644 (file)
 # Ensure that Apache listens on port 80
 Listen 80
 &lt;VirtualHost *:80&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
   
     # Other directives here
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost *:80&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 
     # Other directives here
@@ -120,17 +120,17 @@ Listen 80
 
 # This is the "main" server running on 172.20.30.40
 ServerName server.example.com
-DocumentRoot /www/mainserver
+DocumentRoot "/www/mainserver"
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
     
     # Other directives here ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
     
     # Other directives here ...
@@ -162,7 +162,7 @@ DocumentRoot /www/mainserver
 
     <highlight language="config">
 &lt;VirtualHost 192.168.1.1 172.20.30.40&gt;
-    DocumentRoot /www/server1
+    DocumentRoot "/www/server1"
     ServerName server.example.com
     ServerAlias server
 &lt;/VirtualHost&gt;
@@ -198,22 +198,22 @@ Listen 8080
 
 &lt;VirtualHost 172.20.30.40:80&gt;
     ServerName www.example.com
-    DocumentRoot /www/domain-80
+    DocumentRoot "/www/domain-80"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
     ServerName www.example.com
-    DocumentRoot /www/domain-8080
+    DocumentRoot "/www/domain-8080"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:80&gt;
     ServerName www.example.org
-    DocumentRoot /www/otherdomain-80
+    DocumentRoot "/www/otherdomain-80"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
     ServerName www.example.org
-    DocumentRoot /www/otherdomain-8080
+    DocumentRoot "/www/otherdomain-8080"
 &lt;/VirtualHost&gt;
     </highlight>
 
@@ -230,12 +230,12 @@ Listen 8080
 Listen 80
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
     </highlight>
@@ -263,22 +263,22 @@ Listen 172.20.30.50:80
 Listen 172.20.30.50:8080
 
 &lt;VirtualHost 172.20.30.40:80&gt;
-    DocumentRoot /www/example1-80
+    DocumentRoot "/www/example1-80"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40:8080&gt;
-    DocumentRoot /www/example1-8080
+    DocumentRoot "/www/example1-8080"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50:80&gt;
-    DocumentRoot /www/example2-80
+    DocumentRoot "/www/example2-80"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50:8080&gt;
-    DocumentRoot /www/example2-8080
+    DocumentRoot "/www/example2-8080"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
     </highlight>
@@ -294,28 +294,28 @@ Listen 172.20.30.50:8080
     <highlight language="config">
 Listen 80
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example1
+    DocumentRoot "/www/example1"
     ServerName www.example.com
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example3
+    DocumentRoot "/www/example3"
     ServerName www.example.net
 &lt;/VirtualHost&gt;
 
 # IP-based
 &lt;VirtualHost 172.20.30.50&gt;
-    DocumentRoot /www/example4
+    DocumentRoot "/www/example4"
     ServerName www.example.edu
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.60&gt;
-    DocumentRoot /www/example5
+    DocumentRoot "/www/example5"
     ServerName www.example.gov
 &lt;/VirtualHost&gt;
     </highlight>
@@ -357,7 +357,7 @@ Listen 80
 
     <highlight language="config">
 &lt;VirtualHost _default_:*&gt;
-    DocumentRoot /www/default
+    DocumentRoot "/www/default"
 &lt;/VirtualHost&gt;
     </highlight>
 
@@ -383,12 +383,12 @@ Listen 80
 
     <highlight language="config">
 &lt;VirtualHost _default_:80&gt;
-    DocumentRoot /www/default80
+    DocumentRoot "/www/default80"
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost _default_:*&gt;
-    DocumentRoot /www/default
+    DocumentRoot "/www/default"
     # ...
 &lt;/VirtualHost&gt;
     </highlight>
@@ -407,7 +407,7 @@ Listen 80
 
     <highlight language="config">
 &lt;VirtualHost _default_:80&gt;
-DocumentRoot /www/default
+    DocumentRoot "/www/default"
 ...
 &lt;/VirtualHost&gt;
     </highlight>
@@ -441,16 +441,16 @@ DocumentRoot /www/default
     <highlight language="config">
 Listen 80
 ServerName www.example.com
-DocumentRoot /www/example1
+DocumentRoot "/www/example1"
 
 &lt;VirtualHost 172.20.30.40 172.20.30.50&gt;
-    DocumentRoot /www/example2
+    DocumentRoot "/www/example2"
     ServerName www.example.org
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/example3
+    DocumentRoot "/www/example3"
     ServerName www.example.net
     ServerAlias *.example.net
     # ...
@@ -478,14 +478,14 @@ DocumentRoot /www/example1
     <highlight language="config">
 &lt;VirtualHost 172.20.30.40&gt;
     # primary vhost
-    DocumentRoot /www/subdomain
+    DocumentRoot "/www/subdomain"
     RewriteEngine On
     RewriteRule . /www/subdomain/index.html
     # ...
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-DocumentRoot /www/subdomain/sub1
+    DocumentRoot "/www/subdomain/sub1"
     ServerName www.sub1.domain.tld
     ServerPath /sub1/
     RewriteEngine On
@@ -494,7 +494,7 @@ DocumentRoot /www/subdomain/sub1
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.40&gt;
-    DocumentRoot /www/subdomain/sub2
+    DocumentRoot "/www/subdomain/sub2"
     ServerName www.sub2.domain.tld
     ServerPath /sub2/
     RewriteEngine On
index e68b0e2a2891420eea99ca15c495e3984776346b..527fe56bc7c77421cb8aeca35ce6df41a53ec1b8 100644 (file)
@@ -58,20 +58,20 @@ mod_rewrite</a></li>
 
 <pre class="prettyprint lang-config">&lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-1.example.com
-    DocumentRoot        /www/hosts/customer-1.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-1.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-1.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-1.example.com/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-2.example.com
-    DocumentRoot        /www/hosts/customer-2.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-2.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-2.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-2.example.com/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-N.example.com
-    DocumentRoot        /www/hosts/customer-N.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-N.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-N.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-N.example.com/cgi-bin"
 &lt;/VirtualHost&gt;</pre>
 
 
@@ -166,8 +166,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include the server name in the filenames used to satisfy requests
-VirtualDocumentRoot /www/hosts/%0/docs
-VirtualScriptAlias  /www/hosts/%0/cgi-bin</pre>
+VirtualDocumentRoot "/www/hosts/%0/docs"
+VirtualScriptAlias  "/www/hosts/%0/cgi-bin"</pre>
 
 
     <p>This configuration can be changed into an IP-based virtual
@@ -199,10 +199,10 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include part of the server name in the filenames
-VirtualDocumentRoot /home/%2/www
+VirtualDocumentRoot "/home/%2/www"
 
 # single cgi-bin directory
-ScriptAlias  /cgi-bin/  /www/std-cgi/</pre>
+ScriptAlias  "/cgi-bin/"  "/www/std-cgi/"</pre>
 
 
     <p>There are examples of more complicated
@@ -242,8 +242,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
     
     CustomLog logs/access_log.commercial vcommon
     
-    VirtualDocumentRoot /www/commercial/%0/docs
-    VirtualScriptAlias  /www/commercial/%0/cgi-bin
+    VirtualDocumentRoot "/www/commercial/%0/docs"
+    VirtualScriptAlias  "/www/commercial/%0/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.45&gt;
@@ -251,8 +251,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
     
     CustomLog logs/access_log.homepages vcommon
     
-    VirtualDocumentRoot /www/homepages/%0/docs
-    ScriptAlias         /cgi-bin/ /www/std-cgi/
+    VirtualDocumentRoot "/www/homepages/%0/docs"
+    ScriptAlias         "/cgi-bin/" "/www/std-cgi/"
 &lt;/VirtualHost&gt;</pre>
 
 
@@ -287,8 +287,8 @@ LogFormat "%A %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include the IP address in the filenames
-VirtualDocumentRootIP /www/hosts/%0/docs
-VirtualScriptAliasIP  /www/hosts/%0/cgi-bin</pre>
+VirtualDocumentRootIP "/www/hosts/%0/docs"
+VirtualScriptAliasIP  "/www/hosts/%0/cgi-bin"</pre>
 
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
index 2bceeb8441e9def2ef257cf1eba6ab5233037582..9ebe26dfa016844699cc3dd933cdb2a8eda622ce 100644 (file)
 <highlight language="config">
 &lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-1.example.com
-    DocumentRoot        /www/hosts/customer-1.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-1.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-1.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-1.example.com/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-2.example.com
-    DocumentRoot        /www/hosts/customer-2.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-2.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-2.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-2.example.com/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.44&gt;
     ServerName                 customer-N.example.com
-    DocumentRoot        /www/hosts/customer-N.example.com/docs
-    ScriptAlias  /cgi-bin/  /www/hosts/customer-N.example.com/cgi-bin
+    DocumentRoot        "/www/hosts/customer-N.example.com/docs"
+    ScriptAlias  "/cgi-bin/"  "/www/hosts/customer-N.example.com/cgi-bin"
 &lt;/VirtualHost&gt;
 </highlight>
 
@@ -157,8 +157,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include the server name in the filenames used to satisfy requests
-VirtualDocumentRoot /www/hosts/%0/docs
-VirtualScriptAlias  /www/hosts/%0/cgi-bin
+VirtualDocumentRoot "/www/hosts/%0/docs"
+VirtualScriptAlias  "/www/hosts/%0/cgi-bin"
 </highlight>
 
     <p>This configuration can be changed into an IP-based virtual
@@ -191,10 +191,10 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include part of the server name in the filenames
-VirtualDocumentRoot /home/%2/www
+VirtualDocumentRoot "/home/%2/www"
 
 # single cgi-bin directory
-ScriptAlias  /cgi-bin/  /www/std-cgi/
+ScriptAlias  "/cgi-bin/"  "/www/std-cgi/"
 </highlight>
 
     <p>There are examples of more complicated
@@ -235,8 +235,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
     
     CustomLog logs/access_log.commercial vcommon
     
-    VirtualDocumentRoot /www/commercial/%0/docs
-    VirtualScriptAlias  /www/commercial/%0/cgi-bin
+    VirtualDocumentRoot "/www/commercial/%0/docs"
+    VirtualScriptAlias  "/www/commercial/%0/cgi-bin"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 111.22.33.45&gt;
@@ -244,8 +244,8 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
     
     CustomLog logs/access_log.homepages vcommon
     
-    VirtualDocumentRoot /www/homepages/%0/docs
-    ScriptAlias         /cgi-bin/ /www/std-cgi/
+    VirtualDocumentRoot "/www/homepages/%0/docs"
+    ScriptAlias         "/cgi-bin/" "/www/std-cgi/"
 &lt;/VirtualHost&gt;
 </highlight>
 
@@ -281,8 +281,8 @@ LogFormat "%A %h %l %u %t \"%r\" %s %b" vcommon
 CustomLog logs/access_log vcommon
 
 # include the IP address in the filenames
-VirtualDocumentRootIP /www/hosts/%0/docs
-VirtualScriptAliasIP  /www/hosts/%0/cgi-bin
+VirtualDocumentRootIP "/www/hosts/%0/docs"
+VirtualScriptAliasIP  "/www/hosts/%0/cgi-bin"
 </highlight>
 
 </section>
index 9b2e7e93be3d844a469fa5c65380e8c6ec95d026..86bc8374289c793ab01eb591870ddeb42908a3c7 100644 (file)
     # This first-listed virtual host is also the default for *:80
     ServerName www.example.com
     ServerAlias example.com 
-    DocumentRoot /www/domain
+    DocumentRoot "/www/domain"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost *:80&gt;
     ServerName other.example.com
-    DocumentRoot /www/otherdomain
+    DocumentRoot "/www/otherdomain"
 &lt;/VirtualHost&gt;</pre>
 
 
index c64df7e19d9e94c4fd5d575ed438c52a2f267758..91e2b5ed1148a552e49e5deb1f2079f86f3c4be4 100644 (file)
     # This first-listed virtual host is also the default for *:80
     ServerName www.example.com
     ServerAlias example.com 
-    DocumentRoot /www/domain
+    DocumentRoot "/www/domain"
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost *:80&gt;
     ServerName other.example.com
-    DocumentRoot /www/otherdomain
+    DocumentRoot "/www/otherdomain"
 &lt;/VirtualHost&gt;
     </highlight>