hiding .htaccess in subdirectories doesn't work

Problems with the Linux version of XAMPP, questions, comments, and anything related.

hiding .htaccess in subdirectories doesn't work

Postby FischeFr » 08. August 2009 06:11

At first I am a (bloody) beginner..

I have the following lines in my /opt/lampp/etc/httpd.conf so I expected that apache doesn't deliver .htaccess files:

Code: Select all
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all

This seems to work for files in the htdocs directory but in subdirectories it doesn't.
Can someone explain why? I would like to avoid that these files are delivered by default in all directories.

Please help me!
Posts: 1
Joined: 08. August 2009 06:00

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests