
krist.vanbesien at gmail
Nov 16, 2009, 5:22 AM
Post #8 of 9
(1475 views)
Permalink
|
|
Re: Re: Apache error if using Basic AuthType under Location directive
[In reply to]
|
|
On Mon, Nov 16, 2009 at 10:53 AM, André Warnier <aw [at] ice-sa> wrote: > LuKreme wrote: > ... > >> >> To do hat you want though, the simplest solution is to put a htaccess file >> in the folder you want to protect. >> > No, it is not, because in the OP's case there is not really a directory to > protect and to put a .htacess file inside of. > It is a URL that needs protecting, so it has to be done via a <Location> > 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 filesystem. 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 -- krist.vanbesien [at] gmail krist [at] vanbesien 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 <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe [at] httpd " from the digest: users-digest-unsubscribe [at] httpd For additional commands, e-mail: users-help [at] httpd
|