• Hi George – thank you for your plugin.

    I have installed the plugin and was getting an error mesage you mention here:
    https://github.com/georgestephanis/application-passwords/wiki/Basic-Authorization-Header—-Missing

    I edited the .htaccess file and ther error went away. But later in the day returned.

    The people who run the software I am trying to use suggested I contact my Server Host so wee why the htaccess file may be getting overwritten, and his reply is below. I have not edited the htaccess file according to his suggestion, but worried the error may return.

    just hoping you may have some thoughts or advice. Thank you!

    Paul
    —————-
    >>Another plugin could have done that. Did you put that line outside of the wordpress and wordfence sections?
    ———
    >>Instead of putting in the wordpress area, as it will regenerate, try putting the rewrite outside it. Put in the following above the wordpress .htaccess rules

    RewriteEngine On
    RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]

    You need the rewriteengine on since it isn’t on and you need the rules to hit first.

    ————-
    RewriteEngine On
    RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # BEGIN MemberPress Rules
    <IfModule mod_rewrite.c>

    RewriteCond %{HTTP_COOKIE} mplk=(
    etc
    ect

  • The topic ‘Basic Authorization Header Missing’ is closed to new replies.