tr
troyknox
#1
- Setup webadmin console if you haven’t already:
- Go to Virtual Hosts->Example->Security
- In a new tab, go to Virtual Hosts->YOUR DOMAIN->Security
- Add a new entry for your domain
- Copy the Example for each field but tweak them to fit your domain
- Go to Virtual Hosts->Example->Context-> /protected/
- In a new tab, go to Virtual Hosts->YOUR DOMAIN->Context-> /protected/
- Copy the Example for each field but tweak them to fit your domain
- In your VPS, go to /usr/local/lsws/conf/vhosts/YOUR DOMAIN
- Type “nano htpasswd”
- Go to Htpasswd Generator - Create Htaccess .htpasswd file with all 5 Algorithms!, fill out the form and select “crypt” for Encryption Algorithm
- Enter the given user:hash into the htpasswd file then save and close
- Set permissions to the file by typing “chmod +rwx htpasswd”
- Done