Web Servers on Unix and Linux - protecting a test area

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > March 2005 > protecting a test area





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author protecting a test area
dave

2005-03-12, 5:49 pm

Hello,
I am going to be revising a site. I'm going to have an url like:
http://www.example.com/test
under test is the new site style and content. I do not want this area to be
viewed by the public or by bots until it goes from the test area live. I
believe apache can do this with htaccess but the specific syntax is escaping
me.
Any help appreciated.
Thanks.
Dave.


David Efflandt

2005-03-13, 2:46 am

On Sat, 12 Mar 2005 21:55:32 GMT, dave <dmehler26@woh.rr.com> wrote:
> Hello,
> I am going to be revising a site. I'm going to have an url like:
> http://www.example.com/test
> under test is the new site style and content. I do not want this area to be
> viewed by the public or by bots until it goes from the test area live. I
> believe apache can do this with htaccess but the specific syntax is escaping
> me.
> Any help appreciated.
> Thanks.
> Dave.


See apache docs for mod_access to limit access by IP or domain.

See "Require" directive and related links about password access. Note
that to do this in .htaccess requires AuthConfig (or All) in AllowOverride
of main config. AuthGroupFile is not required if not using groups.
Authentication applied in .htaccess will apply to any subdirectories under
it unless changed with some other .htaccess there.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com