What do I put in a HTACCESS file to stop people viewing my site?

not sure how to with htaccess and a quick google doesn't say either, but one method could be to stick everything in one folder down, named anything, and put a temp index file in root folder saying under construction, then when done move everything back out of the folder back to root folder.
The problem is that what I'm setting up has way too many settings which are set by the location you install it too, so moving it would be a pain, as most of it would stop working. So ideally it would be a lot easier to install it exactly where I want it to be. So I think htaccess is the only way to do this.

Inquisitor : so in htpasswrd file I replace "USER_NAME:PASSWORD" with my own user/pass, eg "seek:seekpass"?
 
Back
Top Bottom