将 svn 与 xampp 结合使用用于 php 项目
我听说过很多关于版本控制的内容,并且想从事这方面的工作。我读了一些关于相同内容的教程。但是我不太确定 svn 如何与 xampp 一起工作。 我已经安装了 svn、Tortoise svn 并在 xampp 中进行了必要的更改。例如,我将两个所需的模块复制到 c:/xampp/apache/modules 中,并对 apache 中的 conf 文件进行了更改。以下是 c:/xampp/apache/conf/httpd.conf 中所做的更改。
# Configure Subversion repository
<Location /svn>
DAV svn
SVNPath C:\svn
AuthType Basic
AuthName “Subversion repository”
AuthUserFile c:\svn_conf\passwd
Require valid-user
</Location>t
我在 c:/svn 创建了存储库,并创建了密码文件。但是,当我访问 http:/localhost/svn 时,我收到 404 页面未找到错误。我哪里错了。我错过了什么。?有什么指点吗??提前致谢。
编辑:
我更加努力了。更改了 httpd.conf 文件中的设置,如上所述。但现在我得到了 500 错误。
I have heard a lot about version control and would like to work on it. I read some tutorials about the same. However i am not quite sure how svn works with xampp.
I have installed svn, Tortoise svn and made the necessary changes in xampp. For instance i copied the two required modules to c:/xampp/apache/modules and also made changes to the conf file in apache. Here are the changes made in c:/xampp/apache/conf/httpd.conf.
# Configure Subversion repository
<Location /svn>
DAV svn
SVNPath C:\svn
AuthType Basic
AuthName “Subversion repository”
AuthUserFile c:\svn_conf\passwd
Require valid-user
</Location>t
I created the repository at c:/svn and also created the password file. However when i visit http:/localhost/svn i get a 404 page not found error. Where am i going wrong. what am i missing.? Any pointers?? Thanks in advance.
edit:
i tried a little harder. changed the settings in httpd.conf files which are as above. But now i get the 500 error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您想要的最佳指南就在这里:
http://noobcode.blogspot.com .br/2010/03/what-is-subversion-as-quoted-by.html
我用谷歌搜索了一整天......
The best guide for what you want is here:
http://noobcode.blogspot.com.br/2010/03/what-is-subversion-as-quoted-by.html
I´ve googled all day...
这应该有帮助
http ://serk01.wordpress.com/2008/09/21/how-to-create-your-own-home-svn-repository-with-xamppapache/
this should help
http://serk01.wordpress.com/2008/09/21/how-to-create-your-own-home-svn-repository-with-xamppapache/
在此条目中进行这些更改,
SVNPath C:\svn 应该是 SVNPath "C:\svn"
AuthType Basic 应为 AuthType“Basic”
AuthName“Subversion 存储库”应为 AuthName“Subversion 存储库”
AuthUserFile c:\svn_conf\passwd 应该是 AuthUserFile "c:\svn_conf\your_file_name_in_svn_conf"
问候
哈希姆·伊克拉姆
[电子邮件受保护]
Make these changes in this entry,
SVNPath C:\svn should be SVNPath "C:\svn"
AuthType Basic should be AuthType "Basic"
AuthName “Subversion repository” should be AuthName "Subversion repository"
AuthUserFile c:\svn_conf\passwd should be AuthUserFile "c:\svn_conf\your_file_name_in_svn_conf"
Regards
Hashim Ikram
[email protected]