Apache error if using Basic AuthType under Location directive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux