English 中文(简体)
儿麻省 设置—— 收受某些特别志愿人员协会的要求,但并非全部。
原标题:Apache+SVN Setup - Receiving Forbidden on some SVN requests but not all

Third party provided a server running Apache and SVN. However, I m setting up the repo and access to it.

www.un.org/spanish/ecosoc 什么工作?

我可以查阅浏览器的回馈。 我的问题似乎在于管理有版本的SVN指挥或终端。

穿透镜或带有vn+ssh的分支,同时承诺进入这些地点。

www.un.org/spanish/ecosoc 什么是工作?

2. 建立拥有复印机指挥的分行:

svn cp ^/trunk ^/branches/test -m creating test branch 
svn: Repository moved permanently to  http://svn.server/repo/ ; please relocate

查阅存放处的基本目录

svn ls  http://svn.server/repo
svn: Repository moved permanently to  http://svn.server/repo/ ; please relocate 

我承认,假伤是一种红 her。 我在每个失败请求的查阅记录中看到以下各点:

60.60.60.60 - - [25/Apr/2012:09:15:24 -0700] "OPTIONS /Repo HTTP/1.1" 401 478
60.60.60.60 - TravisKs [25/Apr/2012:09:15:24 -0700] "OPTIONS /Repo HTTP/1.1" 301 315

查阅我的浏览器申请的出入记录(成功)

60.60.60.60 - - [25/Apr/2012:09:47:31 -0700] "GET / HTTP/1.1" 200 936

因此,我的组合/安全似乎存在错误,但却没有发现错误。

My vhost config

NameVirtualHost *:80

<VirtualHost *:80>
    DocumentRoot /var/www/svn/
    ServerName svn.server
    ServerAlias svn.server

        <Directory "/var/www/svn" >
                Options Indexes FollowSymLinks
                AllowOverride All
                Allow from all
                Order allow,deny
        </Directory>

    ErrorLog /var/log/svn.server.com-error_log
    CustomLog /var/log/svn.server.com-access_log common

</VirtualHost>

My SVN config

<location "/repo">
  DAV svn
  SVNPath /var/www/svn/repo

  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /var/www/svn/repo/conf/passwd
  Require valid-user
</location>

<><>>>

证明档案许可

/var/www
[TravisKs@server ~]$ ls -la /var/www/svn
total 10032
drwxr-xr-x. 3 root   root       4096 Apr 23 16:46 .
drwxr-xr-x. 7 root   root       4096 Feb 13 14:33 ..
drwxr-xr-x. 7 apache apache     4096 Apr 20 17:19 repo
[TravisKs@server ~]$ ls -la /var/www/svn/repo/
total 1180
drwxr-xr-x. 7 apache apache    4096 Apr 20 17:19 .
drwxr-xr-x. 3 root   root      4096 Apr 23 16:46 ..
drwxr-xr-x. 2 apache apache    4096 Apr 20 15:44 conf
drwxr-xr-x. 3 apache apache    4096 Apr 20 17:19 dav 
drwxr-sr-x. 6 apache apache    4096 Apr 24 19:10 db
-r--r--r--. 1 apache apache       2 Apr 20 14:18 format
drwxr-xr-x. 2 apache apache    4096 Apr 20 14:18 hooks
-rw-r--r--. 1 apache apache 1167874 Apr 20 14:34 import_log.txt
drwxr-xr-x. 2 apache apache    4096 Apr 20 14:18 locks
-rw-r--r--. 1 apache apache     229 Apr 20 14:18 README.txt
问题回答

因此,这一问题似乎源于虚拟Host和SVN之间的冲突。 我重新配置了我的httpd.conf文档,拆除了虚拟东道方,并维持了所在地指令:

<location "/svn">
  DAV svn
  SVNParentPath /var/www/svn
  SVNListParentPath on

  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /var/www/svn/repo/conf/passwd
  Require valid-user
</location>

接下来的步骤是在适当地点建立和使用 file。 此时此刻,我们可以通过浏览器把整个特别志愿人员国家存放处连接起来,通常在青少年指挥和版本客户中运作。





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签