Apache 2 webdav - .htaccess file visible to windows clients

Bryan O'Neal BONeal at cornerstonehome.com
Thu Jun 14 13:57:02 MST 2007


You can see the file name only.  The container is correct.  You can only
see the file when using DAV.  I have done away with .htaccess and am
setting up a directory in the main conf for every place I would change
something with .htaccess...  Bummer in that it removes user control and
I field more requests for simplistic changes.

-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Jeremy C. Reed
Sent: Monday, June 11, 2007 3:36 PM
To: Main PLUG discussion list
Subject: RE: Apache 2 webdav - .htaccess file visible to windows clients

I re-ordered this email for replies to be at bottom and I removed the 
repeated signatures.

> > Ok I have a particular liking to .htaccess files for setting users,
> > permissions, auth names, etc.  but my .htaccess file is visible to
> > Windows XP clients when they connect to my webdav folder.
> Suggestions?
> 
> Does your Apache configuration have something like this?
> 
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
> </Files>

On Mon, 11 Jun 2007, Bryan O'Neal wrote:

> Yes, which is why you can not see them when browsing via a regular web
> client such as FireFox, IE, or konqurer.  But you can see it when you
> mount the webDAV folder as a network place under XP

Can you actually view the file? Or just see the filename in a directory 
listing?

That "Deny" is not related to directory listings which for Apache httpd
is 
commonly handled by IndexIgnore.

Double check that your Files container is for the entire server and not 
just a virtual host.

Also try adding to my example within the Files container:

	Satisfy All

(Are you using Satisfy Any in your authentication?)

  Jeremy C. Reed
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list