Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I set up SVN on my Windows XP machine using the BitNami stack. I've gotten svnserve to work, but Apache access seems to not work:

C:\>svn list svn://localhost

C:\>svn list http://localhost
svn: OPTIONS of 'http://localhost': 200 OK (http://localhost)

Can someone help me figure out what is wrong?

More inf:

The repository is in R:\SVN\ :

C:\>dir r:svn
 Volume in drive R is eSATA RAID
 Volume Serial Number is 6CFC-640E

 Directory of R:\svn

02/25/2010  06:38 PM    <DIR>          .
02/25/2010  06:38 PM    <DIR>          ..
02/25/2010  06:38 PM    <DIR>          conf
02/25/2010  06:41 PM    <DIR>          db
02/25/2010  06:38 PM                 2 format
02/25/2010  06:38 PM    <DIR>          hooks
02/25/2010  06:38 PM    <DIR>          locks
02/25/2010  06:38 PM               234 README.txt
               2 File(s)            236 bytes
               6 Dir(s)  2,000,274,423,808 bytes free

My httpd.conf file looks like this (with comments removed):

ServerRoot "C:/Program Files/BitNami Subversion Stack/apache2"
Listen 80
LoadModule actions_module modules/
LoadModule alias_module modules/
LoadModule asis_module modules/
LoadModule auth_basic_module modules/
#LoadModule auth_digest_module modules/
#LoadModule authn_alias_module modules/
#LoadModule authn_anon_module modules/
#LoadModule authn_dbd_module modules/
#LoadModule authn_dbm_module modules/
LoadModule authn_default_module modules/
LoadModule authn_file_module modules/
#LoadModule authnz_ldap_module modules/
#LoadModule authz_dbm_module modules/
LoadModule authz_default_module modules/
LoadModule authz_groupfile_module modules/
LoadModule authz_host_module modules/
#LoadModule authz_owner_module modules/
LoadModule authz_user_module modules/
LoadModule autoindex_module modules/
#LoadModule cache_module modules/
#LoadModule cern_meta_module modules/
LoadModule cgi_module modules/
#LoadModule charset_lite_module modules/
LoadModule dav_module modules/
LoadModule dav_fs_module modules/
#LoadModule dav_lock_module modules/
#LoadModule dbd_module modules/
LoadModule deflate_module modules/
LoadModule dir_module modules/
#LoadModule disk_cache_module modules/
#LoadModule dumpio_module modules/
LoadModule env_module modules/
#LoadModule expires_module modules/
#LoadModule ext_filter_module modules/
#LoadModule file_cache_module modules/
#LoadModule filter_module modules/
LoadModule headers_module modules/
#LoadModule ident_module modules/
#LoadModule imagemap_module modules/
LoadModule include_module modules/
#LoadModule info_module modules/
LoadModule isapi_module modules/
#LoadModule ldap_module modules/
#LoadModule logio_module modules/
LoadModule log_config_module modules/
#LoadModule log_forensic_module modules/
#LoadModule mem_cache_module modules/
LoadModule mime_module modules/
#LoadModule mime_magic_module modules/
LoadModule negotiation_module modules/
#LoadModule proxy_module modules/
#LoadModule proxy_ajp_module modules/
#LoadModule proxy_balancer_module modules/
#LoadModule proxy_connect_module modules/
#LoadModule proxy_ftp_module modules/
#LoadModule proxy_http_module modules/
#LoadModule rewrite_module modules/
LoadModule setenvif_module modules/
#LoadModule speling_module modules/
#LoadModule ssl_module modules/
LoadModule dav_svn_module modules/
LoadModule authz_svn_module modules/
#LoadModule status_module modules/
#LoadModule substitute_module modules/
#LoadModule unique_id_module modules/
#LoadModule userdir_module modules/
#LoadModule usertrack_module modules/
#LoadModule version_module modules/
#LoadModule vhost_alias_module modules/

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.  
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User daemon
Group daemon



ServerName localhost:80

DocumentRoot "C:/Program Files/BitNami Subversion Stack/apache2/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all

<Directory "C:/Program Files/BitNami Subversion Stack/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all


<IfModule dir_module>
    DirectoryIndex index.html

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All

ErrorLog "logs/error.log"
LogLevel warn

<IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    CustomLog "logs/access.log" common


<IfModule alias_module>

    ScriptAlias /cgi-bin/ "C:/Program Files/BitNami Subversion Stack/apache2/cgi-bin/"


<IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock logs/cgisock

# "C:/Program Files/BitNami Subversion Stack/apache2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "C:/Program Files/BitNami Subversion Stack/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all

DefaultType text/plain

<IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types

    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz


<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
                Include "C:\Program Files\BitNami Subversion Stack/apache2/conf/ssi.conf"
<Location /subversion>
DAV svn
SVNPath "R:\SVN"
share|improve this question

1 Answer 1

up vote 2 down vote accepted

You're telling Apache that your Subversion directory should be accessed at the /subversion URL, not the root. So you're URL should be http://localhost/subversion.

share|improve this answer
Thanks! Works perfectly. – rlbond Mar 1 '10 at 16:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.