From: Jeff Trawick
Date: Fri, 3 Dec 2010 18:03:08 +0000 (+0000)
Subject: describe UNC paths vs mapped drive letters
X-Git-Tag: 2.3.10~103
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b0e5bac93ac7bdddb957272cdd0134e4c7b3a2;p=apache
describe UNC paths vs mapped drive letters
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1041937 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/platform/windows.xml b/docs/manual/platform/windows.xml
index 2011d46196..5adb7cbff9 100644
--- a/docs/manual/platform/windows.xml
+++ b/docs/manual/platform/windows.xml
@@ -757,4 +757,46 @@
80 to attempt to bypass firewall issues.
+
+ Configuring Access to Network Resources
+
+ Access to files over the network can be specified using two
+ mechanisms provided by Windows:
+
+
+ - Mapped drive letters
+ - e.g.,
Alias /images/ Z:/
+
+ - UNC paths
+ - e.g.,
Alias /images/ //imagehost/www/images/
+
+
+ Mapped drive letters allow the administrator to maintain the
+ mapping to a specific machine and path outside of the Apache httpd
+ configuration. However, these mappings are associated only with
+ interactive sessions and are not directly available to Apache httpd
+ when it is started as a service. Use only UNC paths for
+ network resources in httpd.conf so that the resources can
+ be accessed consistently regardless of how Apache httpd is started.
+ (Arcane and error prone procedures may work around the restriction
+ on mapped drive letters, but this is not recommended.)
+
+ Example directives with UNC paths
+
+ DocumentRoot //dochost/www/html/
+
+ DocumentRoot //192.168.1.50/docs/
+
+ Alias /images/ //imagehost/www/images/
+
+ <Directory //imagehost/www/images/>
+ ...
+ <Directory>
+
+
+ When running Apache httpd as a service, you must create a
+ separate account in order to access network resources, as described
+ above.
+
+