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

| Previous: | How do I move my MediaWiki to a new locker? |
| Next: | Can I serve Subversion or Git repositories on scripts.mit.edu? |
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.
You are currently connected to cats-whiskers.mit.edu.
Other projects by the scripts.mit.edu creators:
MIT's Linux SSH server: Linerva | Athena on Ubuntu: Debathena | Linux security: Ksplice
