Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3332078
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:39:00+00:00 2026-05-17T23:39:00+00:00

Following the instructions in this helpful guide , I’ve been attempting to set up

  • 0

Following the instructions in this helpful guide, I’ve been attempting to set up Subversion on my site, using Apache instead of svnserve. Once everything is set up, I’ll have a repository at /srv/svn/myrepository that is accessible from code.mydomain.com.

However, after following all of the instructions in the guide linked above, visiting code.mydomain.com displays the contents of the Apache default site, /var/www (i.e., “It works!”). This also generates the following error in my Apache log:

[Sat Nov 06 10:11:33 2010] [notice] caught SIGTERM, shutting down
[Sat Nov 06 10:11:34 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Sat Nov 06 10:11:34 2010] [notice] mod_python: using mutex_directory /tmp
[Sat Nov 06 10:11:34 2010] [notice] Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_jk/1.2.26 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations

Here’s an edited version of my site configuration:

<VirtualHost my.server.ip:80>
        ServerAdmin me@mydomain.com
        ServerName code.mydomain.com
        ErrorLog /srv/www/code.mydomain.com/logs/error.log
        CustomLog /srv/www/code.mydomain.com/logs/access.log combined

        <Location />
                DAV svn
                SVNPath /srv/svn/myrepository

                AuthType Basic
                AuthName "Subversion Repository"
                AuthUserFile /srv/auth/svn/myrepository.htpasswd
                Require valid-user
        </Location>
</VirtualHost>

Thanks in advance for any assistance that you’re able to provide!


Here are the results of some troubleshooting that I’ve done per the suggestions of other users (thanks very much). In each case, I restarted Apache after making the change, then checked the site to verify the results:

0) I am not connecting via SSL.

1) SVNParentPath is only necessary when multiple repositories are in use– here, I’m only using one. Nevertheless, I re-did my configuration using SVNParentPath as a test, and got the same result.

2) I attempted to put the Auth options inside a Limit stanza, and got the same result. I then removed all of the Auth options, but got the same result.

3) Having removed all Auth options from the configuration file and received the same result, I don’t think this is related to an authorization module; nevertheless, I can confirm that although I do have the dav_svn module loaded, I don’t have the authz_svn module loaded.

4) I had already created the repository in the location /srv/svn/myrepository . I ran svnadmin verify on that location, and the tool reported that all is well.

5) I’m on Debian 5, where Apache runs as www-data; and prior to this I had given www-data:www-data ownership of /srv/svn as well as /srv/svn/myrepository . I ran stat on those directories to verify this.

6) Pinging code.mydomain.com shows that it is indeed resolving to the correct IP

7) I ran a2ensite code.mydomain.com, which apparently had not been done (oops), and restarted Apache. The folder /srv/www/code.mydomain.com/logs now contains access.log and error.log, but both files remain empty. Meanwhile, attempting to access code.mydomain.com produces the same result as before, and the default Apache error.log contains the same error messages as before.

8) None of the Apache configuration files contain a NameVirtualHost *:80 line.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:39:00+00:00Added an answer on May 17, 2026 at 11:39 pm

    first of all check that you are going to http and not https.

    I am using centos 5.5. comparing my /etc/httpd/conf.d/subversion.conf with what you provide, leads to the following observations.

    check:

    1. SVNPath should be SVNParentPath
    2. try commenting out the AuthType, AuthName, AuthUserFile and Require to see if that works. Try enclosing them in:

      <LimitExcept GET PROPFIND OPTIONS REPORT>
      ...
      </LimitExcept>
      
    3. these lines are somewhere

      LoadModule dav_svn_module     modules/mod_dav_svn.so
      LoadModule authz_svn_module   modules/mod_authz_svn.so
      
    4. that you have done

      svnadmin create /srv/svn/myrepository
      
    5. that you have done

      chown -R apache.apache /srv/svn/myrepository
      

      (if you are on debian/ubuntu apache.apache would be www-data:www-data).

    it seems you should not put these things in the file /etc/apache2/sites-available/code.domain.com, instead you should be editing /etc/apache2/mods-available/dav_svn.conf (it should already be there and contain more or less the same things that you are trying to put in the site conf file. remove all the duplicate things from the site conf file).

    you will need to put a path in the location, /svn.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm following the instructions on using xsi:type from this oft-cited blog post: http://blog.bdoughan.com/2010/11/jaxb-and-inheritance-using-xsitype.html Basically
I'm following this instructions to run hadoop: http://wiki.apache.org/hadoop/Running_Hadoop_On_OS_X_10.5_64-bit_(Single-Node_Cluster) however, I couldn't get this command
Little help here: I am uploading my site following the instructions on this link
I've set up a Rails form roughly following the instructions in this Railscast. Here's
I installed wxWidgets-2.8.10 following instructions from this page: http://wiki.wxwidgets.org/Compiling_and_getting_started Libraries directory: alex@alex-linux:/usr/local/lib$ ls |
Following the instructions at the Observer User Guide , I tried to run the
I tried to create a new folder following the instructions at https://developers.google.com/google-apps/documents-list/#creating_a_new_document_or_file_with_metadata_only instead of
I was following the instructions in this book , chapter on Resources etc. and
I have created a custom Rewrite Provider for IIS 7 following instructions in this
I'm integrating Facebook to my iOS ARC app by following instructions in this link.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.