前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Subversion 301 Moved Permanently 的解決方法

Subversion 301 Moved Permanently 的解決方法

作者头像
苦咖啡
发布2018-05-08 17:56:24
6170
发布2018-05-08 17:56:24
举报
文章被收录于专栏:我的博客我的博客

1.要保证svn和document不同一目录

官方说明:http://subversion.tigris.org/project_faq.html#301-error

<VirtualHost *:80> ServerName blog.phpfs.com DocumentRoot /var/www/html <Directory /var/www/html> order allow,deny allow from all </Directory> <Location /test> DAV svn SVNPath /var/www/svn/test Authtype Basic AuthName ‘SVN’ Auth_MySQL on Auth_MySQL_Authoritative on Auth_MySQL_Host localhost Auth_MySQL_DB svn Auth_MySQL_User svn Auth_MySQL_Password test Auth_MySQL_Password_Table user Auth_MySQL_Username_Field username Auth_MySQL_Password_Field password Auth_MySQL_Empty_Passwords Off Auth_MySQL_Encrypted_Passwords on Auth_MySQL_Encryption_Types PHP_MD5 AuthBasicAuthoritative Off AuthUserFile /dev/null Require valid-user </Location> <Location /html> DAV svn SVNPath /var/www/svn/html Authtype Basic AuthName ‘SVN’ Auth_MySQL on Auth_MySQL_Authoritative on Auth_MySQL_Host localhost Auth_MySQL_DB svn Auth_MySQL_User svn Auth_MySQL_Password test Auth_MySQL_Password_Table user Auth_MySQL_Username_Field username Auth_MySQL_Password_Field password Auth_MySQL_Empty_Passwords Off Auth_MySQL_Encrypted_Passwords on Auth_MySQL_Encryption_Types PHP_MD5 AuthBasicAuthoritative Off AuthUserFile /dev/null Require valid-user </Location>

</VirtualHost>

这个配置是ubuntu下的svn+mysql认证

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2014年7月7日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档