L LARyan Guest Apr 6, 2006 #1 We're creating a new site for a client. We want to keep it password protected from the general public during development. Is there a way to password protect all files and directories, except the index.html?
We're creating a new site for a client. We want to keep it password protected from the general public during development. Is there a way to password protect all files and directories, except the index.html?
P pixelmeister Guest Apr 7, 2006 #2 Hi LARyan, here is my .htaccess file: #.htaccess AuthType Basic AuthName "Secure" AuthUserFile /path/to/.htpasswd <Files *.*> require valid-user </Files> <Files index.html> satisfy any </Files> <Files .htaccess> order allow,deny deny from all </Files> Hope that helps
Hi LARyan, here is my .htaccess file: #.htaccess AuthType Basic AuthName "Secure" AuthUserFile /path/to/.htpasswd <Files *.*> require valid-user </Files> <Files index.html> satisfy any </Files> <Files .htaccess> order allow,deny deny from all </Files> Hope that helps