How to password protect the whole CMS MS installation?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
trud

How to password protect the whole CMS MS installation?

Post by trud »

I am currently running a test site, and need to password protect the site because it is on a live server.
How can I easily make all pages password protected?

Also I need to make sure crawlers and spiders do not crawl the site.... there is a "NO BOT" statement to put in a text file in the root I belive, but if someone could refresh my memory on this also.

Trud
mahjong

Re: How to password protect the whole CMS MS installation?

Post by mahjong »

Editing the robots.txt file won't garantee you robots won't crawl your test site.

The only secure way is to password protect the directory containing your test site with Apache's .htaccess and .htpasswd configuration files.

Here's one quick tutorial...
trud

Re: How to password protect the whole CMS MS installation?

Post by trud »

At the moment I have IIS and windows hosting. Do not know yet if I am able to run apache rather then IIS cause I am on a shared box.
Tried to make it work under IIS but it seems unpossible.

Other things that will work in wonodws hosting?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to password protect the whole CMS MS installation?

Post by Dr.CSS »

mind if i ask what you mean by all pages password protected, and why?
mahjong

Re: How to password protect the whole CMS MS installation?

Post by mahjong »

Last edited by mahjong on Sun Jul 09, 2006 5:30 am, edited 1 time in total.
Locked

Return to “CMSMS Core”