httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iacopo Benesperi <iac...@iacchi.org>
Subject [users@httpd] Apache error if using Basic AuthType under Location directive
Date Sun, 15 Nov 2009 11:33:31 GMT
Hi,
I have a WebSVN installation and I want to enable a per repository
authentication. At this page:
http://demo.websvn.info/filedetails.php?repname=WebSVN&path=/trunk/doc/install.html#authentication
there's the WebSVN documentation on how to do that. Since my ISP
(DreamHost) doesn't provide SSPI authentication, I've tried to use the
Basic authentication method instead and added these lines to my .htaccess:

<Location /wsvn/[repo name]/>
AuthType Basic
AuthName "Repository svn"
AuthUserFile /home/liberenote/svn/materiale.passwd
Require valid-user
</Location>

and I was planning to add a Location section for every repository I have.

Unfortunately, if I add the lines above Apache gives me an error 500,
and its log says:

/home/liberenote/svnfolder/.htaccess: <Location not allowed here

I'd like to know if basic authentication isn't allowed in the location
directive, if no authentication method is allowed (and so the websvn
documentation doesn't tell the truth) or if it's the dreamhost apache
server which is misconfigured.

many thanks,
Iacopo Benesperi

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message