Results 1 to 4 of 4

Thread: Error 301 Moved Permanently

  1. #1

    Error 301 Moved Permanently

    Hi i try to install svn Server on Apache2 but i don't bring it to work. If i fix one error next one appears.

    I hope you can help me.

    I installed svn as module for Apache:

    Following Config is in my httpd.conf

    <VirtualHost *:80>
    DocumentRoot /home/s/svn/
    DirectoryIndex index.htm index.html index.shtml start.htm start.html start.shtm index.php

    <Location /insu>
    DAV svn
    SVNPath /home/s/svn/insu

    # how to authenticate a user
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /srv/www/passwd/insu.htpasswd

    # only authenticated users may access the repository
    Require valid-user



    When i open the site with my browser i get the project. But when i try to open it with subclipse i get this text:

    Error validating Location .......

    layer request failed
    svn:PROPFIND request failes on '/insu'
    svn:PRPFIND of '/insu': 301 Moved Permanently (

    Hope you can help me.



    Edit, i tried again.. without the Virtualhost there is no problem, but then i can access it by *

    it would be nice to find another possibility

  2. #2
    Junior Member
    Join Date
    Feb 2005
    Brownsburg, Indiana
    I had this error not to long ago. This is because apache is getting confused. First you define DocumentRoot /home/s/svn/ so it looks and finds a insu directory then it also sees it as a special location so it doesnt know what to do. You need to remove the DocumentRoot directive that should fix it.
    John (Vestige) Downey

  3. #3
    Oh thank you very much.

    It took me hours. I don't know how many sites i visited and how many texts i read. But none of them solved my problem.

    Now everything seems to be fine.

    Afterwards it's logic what went wrong. Fine fine fine.

    I was nearly to give up

    So and now it's closing time. German nightlife is waiting.

  4. #4
    thanks. i had this problem too. but i needed, that virtual host have a DocumentRoot So, i create sub-folder (example: /home/s/svn/conf) and set its as DocumentRoot.

Similar Threads

  1. Another 301 Moved Permanently Error
    By anson in forum General Setup and Troubleshooting
    Replies: 4
    Last Post: 10-05-2005, 01:45 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts