Skip to content

Commit 72f62d0

Browse files
committed
generated html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1041939 13f79535-47bb-0310-9956-ffa450edef68
1 parent 67106cb commit 72f62d0

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

docs/manual/platform/windows.html.en

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<li><img alt="" src="../images/down.gif" /> <a href="#winsvc">Running Apache as a Service</a></li>
4444
<li><img alt="" src="../images/down.gif" /> <a href="#wincons">Running Apache as a Console Application</a></li>
4545
<li><img alt="" src="../images/down.gif" /> <a href="#test">Testing the Installation</a></li>
46+
<li><img alt="" src="../images/down.gif" /> <a href="#windrivemap">Configuring Access to Network Resources</a></li>
4647
</ul></div>
4748
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
4849
<div class="section">
@@ -759,6 +760,48 @@
759760
services include other WWW servers, some firewall implementations,
760761
and even some client applications (such as Skype) which will use port
761762
80 to attempt to bypass firewall issues.</p>
763+
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
764+
<div class="section">
765+
<h2><a name="windrivemap" id="windrivemap">Configuring Access to Network Resources</a></h2>
766+
767+
768+
<p>Access to files over the network can be specified using two
769+
mechanisms provided by Windows:</p>
770+
771+
<dl>
772+
<dt>Mapped drive letters</dt>
773+
<dd>e.g., <code>Alias /images/ Z:/</code></dd>
774+
775+
<dt>UNC paths</dt>
776+
<dd>e.g., <code>Alias /images/ //imagehost/www/images/</code></dd>
777+
</dl>
778+
779+
<p>Mapped drive letters allow the administrator to maintain the
780+
mapping to a specific machine and path outside of the Apache httpd
781+
configuration. However, these mappings are associated only with
782+
interactive sessions and are not directly available to Apache httpd
783+
when it is started as a service. <strong>Use only UNC paths for
784+
network resources in httpd.conf</strong> so that the resources can
785+
be accessed consistently regardless of how Apache httpd is started.
786+
(Arcane and error prone procedures may work around the restriction
787+
on mapped drive letters, but this is not recommended.)</p>
788+
789+
<div class="example"><h3>Example directives with UNC paths</h3><p><code>
790+
791+
DocumentRoot //dochost/www/html/<br />
792+
<br />
793+
DocumentRoot //192.168.1.50/docs/<br />
794+
<br />
795+
Alias /images/ //imagehost/www/images/<br />
796+
<br />
797+
&lt;Directory //imagehost/www/images/&gt;<br />
798+
...<br />
799+
&lt;Directory&gt;<br />
800+
</code></p></div>
801+
802+
<p>When running Apache httpd as a service, you must create a
803+
separate account in order to access network resources, as described
804+
above.</p>
762805
</div></div>
763806
<div class="bottomlang">
764807
<p><span>Available Languages: </span><a href="../en/platform/windows.html" title="English">&nbsp;en&nbsp;</a> |

0 commit comments

Comments
 (0)