httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: Aliasing network shares on NT
Date Fri, 07 Jun 2002 13:45:39 GMT
> > > >
> > > > Alias /share1/ "\\comp1\share\"
> > > >
> > > > <Directory "\\comp1\share\">
> > > >  Options +Indexes +Includes +FollowSymLinks
> > > >  Order Deny,Allow
> > > >  Deny from 192.168.80.112
> > > >  Allow from 192.168.80.
> > > > </Directory>
> > > >
> > > > This would not work, why I wonder.

I see a few potential problems.

1. Start by using all forward slashes.  Back-slashes do not belong
in apache configuration files.

2. Make sure that the user running the apache service has access rights to
the appropriate network shares.  See
http://httpd.apache.org/docs-2.0/platform/win_service.html

3. Your Allow directive is completely overriding your Deny directive
because "Order Deny,Allow" causes Allow to be evaluated last.

Joshua.


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


Mime
View raw message