for reasons that do not need explaining here, I'm trying to move my subversion repositories to my local server thats running Windows 2003 and apache 2.2.9.
subversion is running in a VirtualHost with a web address of svn.local.meetcweb.com
at that address, its still just regular HTTP, I plan on adding a web based SVN browser there. The only current repository that I have is svn.local.meetcweb.com/yass_server
The current setup in httpd.conf:
code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName local.meetcweb.com
ServerAlias local.meetcweb.com local
DocumentRoot "W:/www/"
ErrorLog W:/logs/apache_error.log
CustomLog W:/logs/apache_access.log common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "W:/websvn/"
ServerAlias svn
ServerName svn.local.meetcweb.com
ErrorLog W:/logs/apache_svn_error.log
CustomLog W:/logs/apache_svn_access.log common
<Directory "W:/websvn/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Deny from none
</Directory>
<Location /yass_server>
DAV svn
SVNPath W:/svn/yass_server
@ AuthzSVNAccessFile W:/svn/yass_server.access
Satisfy Any
@ Require valid-user
@ AuthType Basic
@ AuthName "SVN Repositories"
@ AuthUserFile W:/svn/yass_server.user
</Location>
</VirtualHost>
So whats happening now is the HTTP site will load fine regardless of settings. The lines above with @ are for authentication purposes. When these lines are commented (no authentication), then the repo is accessible and checkouts can be made. However for any write action to the server (commits, locks etc) I get errors:
quote:
Commit failed (details follow):
MKACTIVITY of '/yass_server/!svn/act/effa2d10-619f-0748-8569-29e97ea4ea0a':
Could not read status line: An existing connection was forcibly closed by the
remote host.
(http://svn.local.meetcweb.com)
and for requesting a lock, just a normal HTTP 401 - Auth required (but no prompts to login)
After un-commenting the auth lines, the repository is inaccessible. Firefox gives an error:
quote:
Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.
and tortoisesvn:
quote:
OPTIONS of 'http://svn.local.meetcweb.com/yass_server': Could not read status
line: An existing connection was forcibly closed by the remote host.
(http://svn.local.meetcweb.com)
So yeah, I need some help in getting this thing running, anyone know some stuff about apache? In the end what I want to be able to have is allow anonymous read access, and require to login to be able to write info to the server