Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I am trying to set up password protected web pages with htaccess on dreamhost.com. While the panel in dreamhost allows one to set up password protection rather quickly. Once I uploaded updates to the directory, the protection is gone. How should I deal with that?

share|improve this question
up vote 1 down vote accepted

It sounds like you are overwriting the htaccess and possibly .htpasswrd files during the upload, it would be best to delete any local copies of these files before uploading.

share|improve this answer
Thanks. I downloaded these files now just in case they are overwritten during updating. – boobami Mar 16 '12 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.