Provides web interface, where you can create login:pwdhash pairs for Nginx and Apache2 basic auth
- Prerequisites
- python 2.7
- gcc
- pip
- nginx
- Debian:
- python-dev
- apache2 with libapache2-mod-wsgi
- CentOS:
- python-devel
- httpd with mod_wsgi
- How to deploy this thing??
- Create directory /usr/gm
- Clone this repo into it, so you get /usr/gm/htpass (accurately)
- Execute "deploy.sh (nginx|apache)" with root privileges
- Associate server's ip in /etc/hosts with "htpass" name
- ???????
- And we're done.
- Additional details
- .htpassd with all collected credentials will be in /home/htpass directory
- Identical usernames are not allowed
- Username symbols are restricted to ascii letters, digits and underscores
- Usernames are restricted to 3-12 character length
- Passwords are restricted to 6-30 character length
╰(*´︶`*)╯