Search code examples
apachehidden-files

Allow access to a hidden directory (.) in Apache


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?


Solution

  • 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.