Hello,
I need to modify my .htaccess file to include some code that helps with a Basic Authentication plugin for servers running PHP with FastCGI. Here is the code I need to include:
#METALOCATOR: This line added to allow basic authentication under FastCGI
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
#METALOCATOR: Turn on the re-write engine. This should only be included once.
RewriteEngine on
#METALOCATOR: This line added to allow basic authentication under FastCGI
#METALOCATOR: Establishes an environment variable used by the plugin only for URLs beginning with wp-json/
RewriteRule ^wp-json/.* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
In which BulletProof custom code field should I put this? Thank you.