Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43513 invoked by uid 500); 4 Mar 2002 18:26:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 43500 invoked from network); 4 Mar 2002 18:26:21 -0000 Received: from f173.law7.hotmail.com (HELO hotmail.com) (216.33.237.173) by daedalus.apache.org with SMTP; 4 Mar 2002 18:26:21 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 4 Mar 2002 10:26:25 -0800 Received: from 65.101.255.46 by lw7fd.law7.hotmail.msn.com with HTTP; Mon, 04 Mar 2002 18:26:24 GMT X-Originating-IP: [65.101.255.46] From: "Keith Thompson" To: users@httpd.apache.org Bcc: Subject: RE: Problem with Apache Alias on Windows NT to mapped drive Date: Mon, 04 Mar 2002 13:26:24 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Mar 2002 18:26:25.0082 (UTC) FILETIME=[1798A1A0:01C1C3AA] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sorry for that admin question! and thanks for the feedback. This is a home based server, so I'm running my system with Workgroups and won't be able to test out your suggestion. I'll be getting a new HD soon, so won't be an issue for long. Thanks! Keith >From: "Pete Nelson" >Reply-To: users@httpd.apache.org >To: >Subject: RE: Problem with Apache Alias on Windows NT to mapped drive >Date: Mon, 04 Mar 2002 12:19:56 -0600 > >What am I, a windows admin? > >Actually, I asked our windows admin about this - he said that drives >are mapped only when a user logs in. He did mention that IF apache >understood UNC naming (like \\server\share), AND IF you use a Windows >domain controler for your network (not a workgroup), AND IF you set >Apache to run as a user on that domain, you MIGHT be able to access the >remote share from Apache without mapping the drive. We use Novell >internally here, so I can't do a proper test from here. > >If you take the time to test this, please post your results! >Otherwise, it might be more cost/time-effective to just buy another hard >drive! > >Good luck, and thanks for an interesting discussion! > >-- >Pete Nelson, Web Developer > >http://www.ci.stpaul.mn.us/ > > >>> keith_g_thompson@hotmail.com 03/04/02 11:36AM >>> >Thanks for the info! Changing the service to run as the user with the >map >seems to have done the trick. This will work as a great temporary work > >around until I can allocate more space to the server. > >Do you happen to know if it's possible to have the mapped drive be >"always >avail" (i.e. connect immediately upon bootup) vs. just connect when I'm > >logged in? > >Thanks again, > >Keith > > > >From: "Pete Nelson" > >Reply-To: users@httpd.apache.org > >To: > >Subject: RE: Problem with Apache Alias on Windows NT to mapped drive > >Date: Mon, 04 Mar 2002 08:28:18 -0600 > > > >Whoops! I guess I didn't read your question thouroughly enough. > > > >I just tested, and it doesn't look like it works for mapped drives on > >Win2k as is typically set up. However, when I changed the Apache > >service to run as 'me' (from Windows Services 'Log On As', NOT from > >httpd.conf's User directive), then it worked. > > > >Mapping drives (I believe) takes place when a user logs in, so to >have > >Apache use a mapped drive, you must run Apache as the same user that > >maps the drive (as before, in Windows Services . . .), and you must >have > >that user logged in at all times. Otherwise, that mapped drive will >not > >be available. > > > >-- > >Pete Nelson, Web Developer > > > >http://www.ci.stpaul.mn.us/ > > > > >>> bryan.henry@mail.utexas.edu 03/04/02 08:11AM >>> > >Pete, > >Your responce workes for mapped drives?? > > > > > >-----Original Message----- > >From: Pete Nelson [mailto:pete.nelson@ci.stpaul.mn.us] > >Sent: Monday, March 04, 2002 7:56 AM > >To: users@httpd.apache.org > >Subject: Re: Problem with Apache Alias on Windows NT to mapped drive > > > > > >I think you're running into a fairly common problem (I recognize this > >one personally!). My guess is that you don't have >options/permissions > >set up for 'M:/', so Apache takes the default assigned to '/', which > >is > >usually to forbid browsing. > > > >You need to add a directory block to define the options/permissions >of > >"M:/": > > > > Options Indexes > > Order allow,deny > > Allow from all > > > > > >These may not be the permissions you want - change them to suit your > >needs. > > > >-- > >Pete Nelson, Web Developer > > > >http://www.ci.stpaul.mn.us/ > > > > >>> keith_g_thompson@hotmail.com 03/01/02 04:26PM >>> > >First, please note the following: > > > >I am a new apache user. However, I've got my site running well, >using > > > >various various technologies like MySQL & Perl scripting. > >I've read the manuals. > >I've looked in the FAQ. > >I've searched google.com > >I've searched a few of the archives all to no avail. > > > >Now, my question / issue: > > > >I am using Apache 1.3.23 on Windows NT 4.0 sp6a. I am trying to use > >the > >Alias directive to redirect a particular link in my site to a mapped > >drive > >"M:/" (I don't have the space for it's contents on my current server) > >and > >get the following error in my error.log: > > > > > >[Fri Mar 01 14:11:33 2002] [error] [client 192.168.123.100] > >(22)Invalid > > > >argument: Can't open directory for index: m:/ > > > >Web browser returns a "Forbidden" error: > > > > > >You don't have permission to access /swimmer_site/pics/ on this > >server. > > > > > > > >My httpd.conf file has a set of directives in it like this: > > > > > > > > Alias /swimmer_site/pics/ "M:/" > > > > > > Options Indexes > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > > >Additional info: > > > > > >M:\ is a mapped drive to a Windows XP machine on the same network who > >has > >provided full permissions to all users. I can navigate through this > >directory fine using standard windows/dos interface (e.g. DIR cmd and > >Network Neighborhood). > > > >This technique works successfully when I use Alias to map to >different > >local > >drive (e.g. D:\, my CD rom). I suspect that this may be an >Windows/NT > > > >issue, but am not sure. > > > >Please let me know if there is another technique for achieving my >goal > >or > >how to resolve the current mapping / permissions issue. > > > >Thank you, > > > >Keith Thompson > > > >_________________________________________________________________ > >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > >--------------------------------------------------------------------- > >The official User-To-User support forum of the Apache HTTP Server > >Project. > >See for more info. > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >For additional commands, e-mail: users-help@httpd.apache.org > > > > > >--------------------------------------------------------------------- > >The official User-To-User support forum of the Apache HTTP Server > >Project. > >See for more info. > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >For additional commands, e-mail: users-help@httpd.apache.org > > > > > >--------------------------------------------------------------------- > >The official User-To-User support forum of the Apache HTTP Server > >Project. > >See for more info. > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >For additional commands, e-mail: users-help@httpd.apache.org > > > > > >--------------------------------------------------------------------- > >The official User-To-User support forum of the Apache HTTP Server >Project. > >See for more info. > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > >For additional commands, e-mail: users-help@httpd.apache.org > > > > > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server >Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org > > >--------------------------------------------------------------------- >The official User-To-User support forum of the Apache HTTP Server Project. >See for more info. >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >For additional commands, e-mail: users-help@httpd.apache.org > _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org