Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 99512 invoked from network); 16 Nov 2009 13:23:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 13:23:15 -0000 Received: (qmail 22397 invoked by uid 500); 16 Nov 2009 13:23:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22354 invoked by uid 500); 16 Nov 2009 13:23:12 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22345 invoked by uid 99); 16 Nov 2009 13:23:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:23:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of krist.vanbesien@gmail.com designates 209.85.218.221 as permitted sender) Received: from [209.85.218.221] (HELO mail-bw0-f221.google.com) (209.85.218.221) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:23:04 +0000 Received: by bwz21 with SMTP id 21so5561939bwz.24 for ; Mon, 16 Nov 2009 05:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bIcPmLUTP5bD6qdLMDGekD0zGVcofHTxmxHA0kG+u+E=; b=W2oWkGXMvrSZpLRoq+3hGd7RHjZ47XlTlw3zmNHwJl2X4HtpXby+4GXhNEEsWvhyEy 3lfkceZINrShH8tItgwxiAzCR0E1g5ofnoTsfyzwAKjdiPsUmcnFnu8QLBGagdZHvN8e 6/uD3fWlRJ1B3WrwAmIymhTFAZvi06kpBfbas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wsm5gcf8GQlLV1Sr1R2gq9MqnecScjFGE9Laa4zh6O+lIeFhinvkz6mXhcTlRlMK9Q 0Gq8SDb21NFxTTAiIboWOYM7hkwJSCofavsh6msedAghs8R5mEwRc/UEFLhYR6mXWIG4 kpjwbXsyyKy28X4SoMCMyQP2OyG5y5dSAFm/0= MIME-Version: 1.0 Received: by 10.204.26.152 with SMTP id e24mr3567794bkc.119.1258377764298; Mon, 16 Nov 2009 05:22:44 -0800 (PST) In-Reply-To: <4B012126.1060700@ice-sa.com> References: <4AFFE70B.6030204@iacchi.org> <1404e5910911150512u2c2ce375p627e9afcb746fbd3@mail.gmail.com> <4B002F5E.5000306@iacchi.org> <1404e5910911151122h46ee74deu213cd011407d244d@mail.gmail.com> <1E079803-C056-4E10-8D30-8FC8F3120B77@kreme.com> <4B012126.1060700@ice-sa.com> Date: Mon, 16 Nov 2009 14:22:44 +0100 Message-ID: <6ed6382b0911160522m1ef332dra99cb835de70159b@mail.gmail.com> From: Krist van Besien To: users@httpd.apache.org, aw@ice-sa.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: Apache error if using Basic AuthType under Location directive On Mon, Nov 16, 2009 at 10:53 AM, Andr=E9 Warnier wrote: > LuKreme wrote: > ... > >> >> To do hat you want though, the simplest solution is to put a htaccess fi= le >> in the folder you want to protect. >> > No, it is not, because in the OP's case there is not really a directory t= o > protect and to put a .htacess file inside of. > It is a URL that needs protecting, so it has to be done via a > section. > Unfortunately, if the Ophas no access to the Apache configuration files, > then he has a problem. WebSVN is a set of PHP scripts, that you install somewhere on your filesyst= em. So technically the OP could just dump the following .htaccess file in the top WebSVN directory: AuthType Basic AuthName "Repository svn" AuthUserFile /home/liberenote/svn/materiale.passwd Require valid-user Krist --=20 krist.vanbesien@gmail.com krist@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org