con
(@conschneider)
Engineer
Hi there,
I am using the right API keys as well. Not sure what is the issue?
From my experience it is usually something somewhere configured. My antidote is to use https://ww.wp.xz.cn/plugins/application-passwords/ instead.
Kind regards,
Thanks, so how does this plugin work?
when i install this plugin and went to where it installed i get the below message. How to fix that issue? may be that is also causing the main issue?
Due to a potential server misconfiguration, it seems that HTTP Basic Authorization may not work for the REST API on this site: Authorization headers are not being sent to WordPress by the web server.
-
This reply was modified 5 years, 9 months ago by
DTH Connect.
I had these REST API errors appear yesterday across multiple domains. I couldn’t run through the set up steps whilst using HTTP. I added an SSL cert to the website it’s installed on and it worked straight away with HTTPS.
I already have SSL certificate on the website but not on cpanel. Do i need to install it there as well?
What does below message means and how to fix that?
Due to a potential server misconfiguration, it seems that HTTP Basic Authorization may not work for the REST API on this site: Authorization headers are not being sent to WordPress by the web server.
con
(@conschneider)
Engineer
Hi,
Due to a potential server misconfiguration, it seems that HTTP Basic Authorization may not work for the REST API on this site: Authorization headers are not being sent to WordPress by the web server.
HTTP Headers sent information in what is allowed when communicating with other parties. You probably need to update your htaccess file so that it includes the following rule: SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1.
If that does not help, I can put together some usage info for Application Passwords.
Kind regards,
It worked with SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
But wondering why it worked before without adding this line?
Thanks
con
(@conschneider)
Engineer
It worked with SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
Nice, thanks for reporting back.
But wondering why it worked before without adding this line?
I assume your server configuration changed due to a software update on your server.
Kind regards,
Hi again
I have added (E=HTTP_AUTHORIZATION:%{HTTP:Authorization}) in the .htaccess file but this overrides every day with the default version of the file.
Wondering why this file is updating automatically and reset to the default state? Because when it reset the rest API does not work
any solution to fix this issue?