httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] httpd on Windows -- can access UNC paths from service but not mapped drives
Date Fri, 03 Dec 2010 17:18:44 GMT
On Fri, Dec 3, 2010 at 10:41 AM, Jeff Trawick <trawick@gmail.com> wrote:
> Thanks, all!   Does this look reasonable?
>
> Index: platform/windows.xml
> ===================================================================
> --- platform/windows.xml        (revision 1041847)
> +++ platform/windows.xml        (working copy)
> @@ -757,4 +757,33 @@
>     80 to attempt to bypass firewall issues.</p>
>   </section>
>
> +  <section id="windrivemap">
> +    <title>Configuring Access to Network Resources</title>
> +
> +  <p>Access to files over the network can be specified using two
> +  mechanisms provided by Windows:</p>
> +
> +  <dl>
> +    <dt>Mapped drive letters</dt>
> +    <dd>e.g., <code>Alias /images/ Z:/</code></dd>
> +
> +    <dt>UNC paths</dt>
> +    <dd>e.g., <code>Alias /images/ //imagehost/www/images/</code></dd>
> +  </dl>
> +
> +  <p>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.  <strong>Use only UNC paths for
> +  network resources in httpd.conf</strong> 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.)</p>
> +
> +  <p>When running Apache httpd as a service, you must create a
> +  separate account in order to access network resources, as described
> +  above.</p>
> +  </section>
> +
>  </manualpage>
>

Would be nice to have the non-intuitive <Directory //imagehost/...> as
well in the example.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message