I set up a svn server following http://www.oliverdavies.co.uk/blog/2011/10/install-and-configure-subversion-svn-server-ubuntu. I have created a password for it, and when using web browser to view, it did require password, but when I use "svn checkout http://", I can pull all things in the repository as if there is no password. Does anyone know what's going on here?
My configuration of /etc/apache2/apache2.conf contain the same thing as in the above mentioned post, which is
<Location /svn>
DAV svn
SVNParentPath /home/svn
AuthType Basic
AuthName "SVN Repositories"
AuthUserFile /etc/svn-auth
Require valid-user
</Location>
[!SOLVED] It turns out that it can be solved by moving <location /svn> configuration from /etc/apache2/apache2.conf to /etc/apache2/mods-available/dav_svn.conf.