diff options
author | David Rothstein <drothstein@gmail.com> | 2013-08-05 01:01:21 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-08-05 01:01:21 -0400 |
commit | 7a036f167854456ce49f167094a9965958e5bb2e (patch) | |
tree | e9737c3c97f23ffcbb82538bf77fdd783e11f8ad /.htaccess | |
parent | f58bc6af2477dc3cd136c7ef96cb354b819f6120 (diff) | |
download | brdo-7a036f167854456ce49f167094a9965958e5bb2e.tar.gz brdo-7a036f167854456ce49f167094a9965958e5bb2e.tar.bz2 |
Issue #670454 by pwolanin, cburschka, effulgentsia: Support HTTP Authorization in CGI environments.
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -63,6 +63,10 @@ DirectoryIndex index.php index.html index.htm RewriteCond %{HTTPS} on RewriteRule ^ - [E=protossl:s] + # Make sure Authorization HTTP header is available to PHP + # even when running as CGI or FastCGI. + RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # Block access to "hidden" directories whose names begin with a period. This # includes directories used by version control systems such as Subversion or # Git to store control files. Files whose names begin with a period, as well |