What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » subversion and apache

subversion and apache
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. subversion and apache
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

This post was edited on 10-03-2008 at 04:43 AM by MeEtc.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
10-03-2008 04:41 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
subversion and apache - by MeEtc on 10-03-2008 at 04:41 AM
RE: subversion and apache - by MeEtc on 10-03-2008 at 06:40 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On