Skip to content

Commit

Permalink
php: added .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Nov 25, 2014
1 parent ab0d48a commit 952b97b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/server/php/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RewriteEngine On

# By default Apache doesn't provide the Authorization header to the request
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Empty file.

1 comment on commit 952b97b

@sahat
Copy link
Owner Author

@sahat sahat commented on 952b97b Nov 25, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #198

Please sign in to comment.