I need to demonstrate my system to a customer from the Internet. So I can make changes easily I want to access my Scriptcase development system remotely. Although I have strengthened the log-in password I thought I would make the login even more secure by creating an Apache password using htpasswd and adding an .htaccess file with the following in:
AuthType Basic
AuthName “Restricted Access Authorised Users Only”
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
The problem is that, no matter where I add this file, Apache seems to ignore it. Is there some reason that .htaccess will not work in the development environment?