Commented parts of .htaccess
-
Hi there,
First, thank you for the great plugin.
I’m using it on a live site and noticed a weird issue a few days ago.
My .htaccess file presents this piece of code:RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
This is required by the https://github.com/WP-API/jwt-auth/ plugin (to use WP login via a Rest API JWT token).
This exact piece of .htaccess was commented (each line prefixed with a #), thus making my authentication fail in my app.
I’m trying to pin down the culprit for this .htaccess edition, as this is was not done manually.Is there any way that the “All In One WP Security & Firewall” plugin was in cause?
Just above these lines in the .htaccess, I do have the plugin generated rules (see https://media.mosaika.fr/4gumERG0).
If the plugin could be in charge of adding these comments, I’d be happy to know how to avoid that in the future.Thank you for your help!
- The topic ‘Commented parts of .htaccess’ is closed to new replies.