Allow access to a hidden directory (.) in Apache

Echows picture Echows · Dec 4, 2015 · Viewed 12.7k times · Source

I need to put something in a directory on my web server that starts with ., i.e. the path would be my.domain/.something/somefile.

However, it seems that my Apache configuration blocks all access to hidden directories.

How do I change the config so that access to this one particular directory is allowed?

Answer

covener picture covener · Dec 4, 2015

The default configuration from the apache.org distribution has no problem serving files from a .something subdirectory of the document root. You'd have to search your own logs and configuration for a problem.