==== Set File permissions: ====
* Ensure the permissions are correctly set on the two files as follows:
{{Code|chmod 600 /var/hda/web-apps/appname/.htpasswd
chmod 600 /var/hda/web-apps/appname/html/.htaccess
chown apache:apache /var/hda/web-apps/appname/.htpasswd
chown apache:users /var/hda/web-apps/appname/html/.htaccess}}