Changeset 1685219
- Timestamp:
- 06/25/2017 09:15:05 PM (9 years ago)
- File:
-
- 1 edited
-
micropub/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
micropub/trunk/readme.txt
r1685193 r1685219 71 71 If your Micropub client includes an `Authorization` HTTP request header but you still get an HTTP 401 response with body `missing access token`, your server may be stripping the `Authorization` header. If you're on Apache, [try adding this line to your `.htaccess` file](https://github.com/snarfed/wordpress-micropub/issues/56#issuecomment-299202820): 72 72 73 ``` 74 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 75 ``` 73 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 76 74 77 If that doesn't work, you may need to ask your hosting provider to whitelist the `Authorization` header for your account. If they refuse, you can [pass it through Apache with an alternate name](https://github.com/snarfed/wordpress-micropub/issues/56#issuecomment-299569822), but [you'll need to edit this plugin's code to read from that alternate name](https://github.com/snarfed/wordpress-micropub/issues/56#issuecomment-299569822). 75 If that doesn't work, try this line: 76 77 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 78 79 If that doesn't work either, you may need to ask your hosting provider to whitelist the `Authorization` header for your account. If they refuse, you can [pass it through Apache with an alternate name](https://github.com/snarfed/wordpress-micropub/issues/56#issuecomment-299569822), but [you'll need to edit this plugin's code to read from that alternate name](https://github.com/snarfed/wordpress-micropub/issues/56#issuecomment-299569822). 78 80 79 81 == Upgrade Notice ==
Note: See TracChangeset
for help on using the changeset viewer.