Return-Path: Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: (qmail 1607 invoked from network); 3 Dec 2010 17:19:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Dec 2010 17:19:15 -0000 Received: (qmail 95372 invoked by uid 500); 3 Dec 2010 17:19:15 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 95086 invoked by uid 500); 3 Dec 2010 17:19:14 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 95078 invoked by uid 99); 3 Dec 2010 17:19:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 17:19:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of covener@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Dec 2010 17:19:07 +0000 Received: by wwi17 with SMTP id 17so4239428wwi.12 for ; Fri, 03 Dec 2010 09:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3g6shW2qMscB1b9bZtwjaflMapV9Voui2kIoIeDiwQ0=; b=WLaMd4bapVUUWZ+6QRBO6/pvp0SVMUsPlyagoBa5GYYoM9xc140CaLz1z0NMl3/XdV 2olB5LHJaALvMMc8vgY6irc/X+xc0a2Dkf55Mwvahm7MiyVhTRDFAY3L82g8QtEvrANV EpxXk7MKgpjKYXTCW+0vCqNZ6grGPRTy9FK/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JuRMHSRzzw3bOvC9IFQi6kKgseLIkUUE2KTg9M7MMnQMtDkYeM+VXolkMf2BFZxZZQ yiwyDUBuiI+tspV6D752n58GaEzN/d5gxFUpFW0iaKlG28GeqcWo5rRwwMe3L1y63Ec4 IlPsNsBYNUdaWQa7Z8o444KlbSXR/1w/3v+zU= MIME-Version: 1.0 Received: by 10.216.182.77 with SMTP id n55mr1849480wem.65.1291396724937; Fri, 03 Dec 2010 09:18:44 -0800 (PST) Received: by 10.216.1.71 with HTTP; Fri, 3 Dec 2010 09:18:44 -0800 (PST) In-Reply-To: References: Date: Fri, 3 Dec 2010 12:18:44 -0500 Message-ID: Subject: Re: [users@httpd] httpd on Windows -- can access UNC paths from service but not mapped drives From: Eric Covener To: docs@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Dec 3, 2010 at 10:41 AM, Jeff Trawick wrote: > Thanks, all! =A0 Does this look reasonable? > > Index: platform/windows.xml > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- platform/windows.xml =A0 =A0 =A0 =A0(revision 1041847) > +++ platform/windows.xml =A0 =A0 =A0 =A0(working copy) > @@ -757,4 +757,33 @@ > =A0 =A0 80 to attempt to bypass firewall issues.

> =A0 > > + =A0
> + =A0 =A0Configuring Access to Network Resources > + > + =A0

Access to files over the network can be specified using two > + =A0mechanisms provided by Windows:

> + > + =A0
> + =A0 =A0
Mapped drive letters
> + =A0 =A0
e.g., Alias /images/ Z:/
> + > + =A0 =A0
UNC paths
> + =A0 =A0
e.g., Alias /images/ //imagehost/www/images/ > + =A0
> + > + =A0

Mapped drive letters allow the administrator to maintain the > + =A0mapping to a specific machine and path outside of the Apache httpd > + =A0configuration. =A0However, these mappings are associated only with > + =A0interactive sessions and are not directly available to Apache httpd > + =A0when it is started as a service. =A0Use only UNC paths for > + =A0network resources in httpd.conf so that the resources can > + =A0be accessed consistently regardless of how Apache httpd is started. > + =A0(Arcane and error prone procedures may work around the restriction > + =A0on mapped drive letters, but this is not recommended.)

> + > + =A0

When running Apache httpd as a service, you must create a > + =A0separate account in order to access network resources, as described > + =A0above.

> + =A0
> + > =A0 > Would be nice to have the non-intuitive as well in the example. --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org