1 [[!meta title="How do I access the Authorization headers from a FastCGI?"]]
2 Apache by default does not pass the Authorization header through to
3 FastCGI scripts. If you want access to it (perhaps for use with
4 Ruby on Rails), you need to add the following to a .htaccess file:
6 RewriteCond %{HTTP:Authorization} ^(.+)
7 RewriteRule ^(.*)$ $1 [E=HTTP_AUTHORIZATION:%1,PT]