• Total Source Code 1
  • Total Page : 1
  • You currently on page number : 1

Allow Single URL Through .htaccess Password Protection

  • 00 0000
  • 461
  • htacces,apache

This code is useful for multi environment setups (staging, production, etc.) it allows you to keep your htaccess files in sync while maintaining an htpasswd on your development environment or anything but the live environment.#allows a single uri through the .htaccess password protection SetEnvIf Request_URI "/testing_uri$" test_uri #allows everything if its on a certain host SetEnvIf Read more