Help
Basic Authentication Generator
This tool helps you generate Apache Basic Authentication configuration. Fill in the form to create both the .htaccess snippet and .htpasswd file content.
Fields:
- Path to .htpasswd: The absolute server path where the .htpasswd file will be located (e.g., /var/www/html/.htpasswd)
- Username: The username for basic authentication
- Password: The password that will be encrypted using Apache's APR1-MD5 algorithm
- Auth Realm: The authentication realm message shown to users
Additional Options:
- Allow Images: Allow image files to bypass authentication (useful for email clients)
- Allow Localhost: Allow access from localhost without authentication
- Allow Crawlers: Allow specific search engine crawlers to bypass authentication