Skip to content

Commit

Permalink
add htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
alexantr committed Jul 25, 2013
1 parent 416af88 commit a684219
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# You shouldn't use the "last" ("L") directive in the RewriteRule!
# This will prevent all further rewrite rules to be skipped whenever a Basic or
# Digest Auth is given, which is almost certainly not what you want.
# So the following lines are sufficient for the .htaccess (or httpd.conf) file:

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

0 comments on commit a684219

Please sign in to comment.