httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject RE: Problem with Apache Alias on Windows NT to mapped drive
Date Mon, 04 Mar 2002 18:19:56 GMT
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
<pete.nelson@ci.stpaul.mn.us>
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" <pete.nelson@ci.stpaul.mn.us>
>Reply-To: users@httpd.apache.org 
>To: <users@httpd.apache.org>
>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
><pete.nelson@ci.stpaul.mn.us>
>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:/":
><Directory "M:/">
>   Options Indexes
>   Order allow,deny
>   Allow from all
></Directory>
>
>These may not be the permissions you want - change them to suit your
>needs.
>
>--
>Pete Nelson, Web Developer
><pete.nelson@ci.stpaul.mn.us>
>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:/"
>
>     <Directory "M:/">
>         Options Indexes
>         AllowOverride None
>         Order allow,deny
>         Allow from all
>     </Directory>
>
>
>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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message