Geeky Stuff

Programming Index
Apache, Slack and gdbm
JPass password maker
HTgen htpasswd maker
JVC Camcorders & DV
Firefox & RealPlayer
Thunderbird URLs
PHP and PGP
MySQL auto_increment
ndiswrapper cards

Articles

Monarch Computers

Links elsewhere

The Kelv wide web
Planet Linux UK
Jokes and silly stuff
UK web hosting
IMAP mail hosting
Wine gifts
Motivational management
Web development
Skunk Anansie
X11 SMS and RFID
Rest Assured

Low cost high uptime Internet services

Get Firefox!

Valid HTML 4.01 Transitional

Home > Programming > HTGen

Kelv's .htaccess/.htpasswd Generator

I created this service to make creating those .htaccess and .htpasswd files easier. I hope it saves you some time!

Apache .htpasswd password file maker

To create a .htpasswd file, enter the username and password you would like to crypt and click Proceed. You can add space for extra username / password spaces with the More and Less buttons.


1. Username Password
  
Apache .htaccess file maker

To create a .htaccess file enter the full path to the .htpasswd file you wish to use. In most cases you can set this to the folder you wish to apply access controls to (i.e. same place as the .htaccess file you create here).

Path to protect
e.g. To protect http://yoursite/private enter /home/yourusername/www/private.
Resource name
e.g. Admin area or Fred's Secret Area
Note - You don't need to put a / on the end.