mod_rewrite 阻止 mod_DAV_SVN 访问,CPanel CentOS 服务器
我按照 http:// /sven.webiny.com/subversion-on-cpanel-3-with-centos-55-and-easyapache-32/ 以允许 mod_dav_svn (HTTP) 访问 SVN我的服务器上的存储库。
一切工作正常,但问题在于那些在其 Web 根目录上具有 .htaccess mod_rewrite 的主机(例如 Wordpress),mod_rewrite 取代了 DAV_SVN 和位置指令(Apache Conf.),这很无聊并且阻止我能够使 /svn 位置使用 DAV_SVN。
目标示例网站是 abiusx.com,它并不总是在 http://abiusx.com/svn 上运行
I followed the tutorial on http://sven.webiny.com/subversion-on-cpanel-3-with-centos-55-and-easyapache-32/ to allow mod_dav_svn (HTTP) access to SVN Repositories on my server.
Everything works fine, But the problem is on those hosts having .htaccess mod_rewrite on their web roots (like Wordpress for example), The mod_rewrite supersedes DAV_SVN and location directive (of Apache Conf.), Which is boring and stops me from being able to make /svn location use DAV_SVN.
A target example site is abiusx.com which doesn't always work on http://abiusx.com/svn
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案是,您不能在虚拟主机的根目录上放置另一个处理程序,除非您指定所有错误处理程序文档:
Well the answer was, you can't put another handler on roots of your virtual host, unless you specify all the error handler documents: