Date: Tue, 5 Dec 2000 11:38:41 -0500 From: "Jim Weeks" <jim@siteplus.net> To: "Mihai Claudiu Capatina" <mihai.capatina@aignet.ro>, "Gabriel Ambuehl" <gabriel_ambuehl@buz.ch> Cc: <isp@FreeBSD.ORG> Subject: Re: htaccess only protecting one specific subdir? Message-ID: <007901c05ed9$d6246f00$333d2426@siteplus.net> References: <15473937196.20001205161309@buz.ch> <3A2D1585.7041BA54@aignet.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0076_01C05EAF.EAFB4F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have done a little experimenting and discovered that you can cut this = down to only the <Limit > directive in subdirectories. In other words, = if you only wanted to protect the higher level directory, you would = place a complete .htaccess file into / and then place the following in = any /subdirectory that you want to enjoy complete access. <Limit > require </Limit> Jim ------=_NextPart_000_0076_01C05EAF.EAFB4F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I have done a little experimenting and = discovered=20 that you can cut this down to only the <Limit > directive in=20 subdirectories. In other words, if you only wanted to protect the = higher=20 level directory, you would place a complete .htaccess file into / and = then place=20 the following in any /subdirectory that you want to enjoy complete=20 access.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><Limit ><BR> =20 require<BR></Limit></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Jim</FONT></DIV></BODY></HTML> ------=_NextPart_000_0076_01C05EAF.EAFB4F40-- ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007901c05ed9$d6246f00$333d2426>