diff --git a/.htaccess b/.htaccess index 4733ffa..0d3c7a9 100644 --- a/.htaccess +++ b/.htaccess @@ -80,6 +80,10 @@ DirectoryIndex index.php RewriteEngine on + # Make sure Authorization HTTP header is available to PHP + # even when running as CGI or FastCGI. + RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # If your site can be accessed both with and without the 'www.' prefix, you # can use one of the following settings to redirect users to your preferred # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: diff --git a/CHANGELOG.txt b/CHANGELOG.txt index eb30312..30fdea8 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,8 @@ Drupal 6.31-dev, xxxx-xx-xx (development release) ---------------------- +- Changed the default .htaccess file to support HTTP authorization in CGI + environments. Drupal 6.30, 2014-01-15 ----------------------