You must add this code to a virtualhost tag
It will not work if you put it in a Directory tag.
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
More Related Contents:
- Easy way to test a URL for 404 in PHP?
- How to get final URL after following HTTP redirections in pure PHP?
- Get “Content-Type” header of request in PHP
- Parsing HTTP_RANGE header in PHP
- do not include AcmeDemoBundle using symfony installer
- Symfony 3, Guard & Handlers
- Creating sign-in with my site functionality
- How to make asynchronous HTTP requests in PHP
- Forcing to download a file using PHP
- Detecting request type in PHP (GET, POST, PUT or DELETE)
- HTTP authentication logout via PHP
- Is there a built-in way to get all of the changed/updated fields in a Doctrine 2 entity
- Persistent/keepalive HTTP with the PHP Curl library?
- Symfony2 – Force file download
- Send post request using Volley and receive in PHP
- Check if PHP-page is accessed from an iOS device
- Setup HTTP expires headers using PHP and Apache
- How to access an application parameters from a service?
- How to cache in Symfony 2?
- Add http:// prefix to URL when missing
- How to use the CSV MIME-type?
- How can I set a cookie and then redirect in PHP?
- Authorization header missing in PHP POST request
- PHP cURL how to add the User Agent value OR overcome the Servers blocking cURL requests?
- Accessing Files Relative to Bundle in Symfony2
- Can I serve MP3 files with PHP?
- Find out HTTP method in PHP [duplicate]
- Extending Sonata User Bundle and adding new fields [closed]
- How to give container as argument to services
- Content-length and other HTTP headers?