...
Code Block | ||
---|---|---|
| ||
sudo /etc/init.d/apache2 reload |
shared.private - Private Folders
kalel wants to have a private place to store his documents that can only be access by accounts he sets up.
Note |
---|
This is working but has a caveat outlined in purple and a possible bug. |
htpasswd and the directive AllowOverride in the shared.private directory block will be used to accomplish this.
kalel logs in as himself he would do the following one time setup,
Code Block | ||
---|---|---|
| ||
cd /home/www.krypton.com/shared.private
mkdir kalel
chmod 750 kalel
cd /home/www.krypton.com/shared.private
mkdir keys
cd keys
# Create the initial password file with the first user being kalel
htpasswd -c ./kalel-www.krypton.com.shared.private kalel
New password:
Re-type new password: |