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 14:28:18 GMT
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


Mime
View raw message