Skip to content

Commit

Permalink
Requests shouldn't fail if the file or directory beginning with a per…
Browse files Browse the repository at this point in the history
…iod doesn't exist. Some CMS's will allow for appending ".qr" to a URL to get a QR code.
  • Loading branch information
lukeb committed Nov 30, 2011
1 parent b1e3aa5 commit a835a4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .htaccess
Expand Up @@ -458,6 +458,8 @@ AddCharset utf-8 .html .css .js .xml .json .rss .atom
# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
<IfModule mod_rewrite.c>
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>

Expand Down

0 comments on commit a835a4d

Please sign in to comment.