Skip to content

Instantly share code, notes, and snippets.

@hlashbrooke
Created October 8, 2015 10:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlashbrooke/f720b228f85ed07f4b42 to your computer and use it in GitHub Desktop.
Save hlashbrooke/f720b228f85ed07f4b42 to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: .htaccess line for FastCGI servers to enable password protection for feeds. This line to be added above the WordPress rules in the .htaccess file.
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
@stoi2m1
Copy link

stoi2m1 commented Jan 25, 2018

I am using a bitanmi WordPress installed via the AWS Marketplace it uses a htaccess.conf file and does not acknowledge the .htaccess file in the root of the web server. I had to add this rewrite rule to /opt/bitnami/apps/wordpress/conf/htaccess.conf to get authentication working with the members feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment