You are not logged in.

#1 2010-03-27 19:25:30

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

deny dotfiles in lighttpd

Hallo

Since lighttpd doesn't support .htaccess files, does anyone know how to configure it not to serve dotfiles? It seems there is a way to deny files by specifying trailing pathnames, but I am unsure how to use it for dotfiles ( url.access-deny ).  Thanks

Last edited by z0id (2010-03-27 19:31:55)


/usr/bin/drinking

Offline

#2 2010-03-27 22:57:54

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: deny dotfiles in lighttpd

If you read the comments in the config file, there's a setting for this exact thing.

Offline

#3 2010-03-28 02:16:31

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: deny dotfiles in lighttpd

You are probably referring to dir-listing.hide-dotfiles, which only hides dotfiles for dirlisting and not actually block them - they can still be accessed. Other than that, I couldn't find anything more relevant (on the web; it's not mentioned in the config file).


/usr/bin/drinking

Offline

Board footer

Powered by FluxBB