Search code examples
phpapachemod-rewriteapache2basic-authentication

apache basic authentication without the ugly popup?


I like using .htaccess to password protect a directory, especially since it recursively protects all subdirectories as well. However, I despise the ugly login popup you get everytime. Instead of using basic auth I'd like to use mod_rewrite (or similar) to password protect a directory (and all subdirectories) but have a simple html login for powered by php instead.

Ideas?


Solution

  • no... there is no way to use "basic authentication" with custom forms since this is done completely by the browser.