</IfModule>
</Directory>
-# Prevent .htaccess and .htpasswd files from being viewed by Web clients.
-<Files ".ht*">
+# Prevent access to:
+# - .htaccess and .htpasswd files
+# - backup files from being viewed
+<FilesMatch "^(\.ht.*|.*~|.*,v)$">
<IfModule mod_authz_host.c>
Require all denied
</IfModule>
Order deny,allow
Deny from all
</IfModule>
-</Files>
+</FilesMatch>
-# Prevent backup files from being viewed, too.
-<Files "*~">
+# Prevent access to:
+# - version control directories
+<DirectoryMatch "/\.(svn|git|hg|bzr)|CVS)/?">
<IfModule mod_authz_host.c>
Require all denied
</IfModule>
Order deny,allow
Deny from all
</IfModule>
-</Files>
+</DirectoryMatch>
#
# This should be changed to whatever you set DocumentRoot to.
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
Version: 2.4.17
-Release: 1
+Release: 2
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2