打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Subversion Users: Apache2 Subversion SSL install on Debian

Apache2 + Subversion + SSL install on Debian - HOWTO

From: alan <ALAN.W.THOMPSON_at_saic.com>
Date: 2004-11-03 05:35:45 CET

Hi - I just set up Apache-2.0.51 and Subversion-1.1.1 using SSL
(OpenSSL) on a Debian Linux system after some difficulty. I had
problems with apparent errors in the INSTALL file, which I finally got
sorted out with the help of some old (2003) messages in the mail
archives and a lot of trial and error (I have done about 6 non-ssl
Apache/Subversion installs before trying this install).

Since I didn't see a good HOWTO anywhere, I thought I'd contribute this
concise summary to the list. You may wish to type the following
commands into a short "go.csh" script in the top-level directory of each
source tree, and then execute the script (rather than typing each
command individually). This can be very helpful if you need to tweak
paths, flags, etc for multiple build attempts.

In particular, the usage and interaction of the --enable-ssl,
--with-ssl, and --with-libs flags was not well-documented in either the
INSTALL file or by "./configure --help". Note that the syntax of the
--with-ssl flag is different in the Apache and Subversion builds.

Here are the steps I used, in the order that I executed them:

OpenSSL (http://www.openssl.org):
---------------------------------------------------------------------------
./config
make
make test
make install
---------------------------------------------------------------------------

Apache2 (http://httpd.apache.org/):
---------------------------------------------------------------------------
./configure --enable-dav --enable-so --enable-deflate
  --enable-ssl --with-ssl=/usr/local/ssl
make clean
make
make install
---------------------------------------------------------------------------

Subversion (http://subversion.tigris.org/):
---------------------------------------------------------------------------
./configure --with-zlib --enable-ssl --with-ssl
--with-libs=/usr/local/ssl:/usr/local/ssl/lib:/usr/local/lib:/usr/lib:/lib
make clean
make
make install
---------------------------------------------------------------------------

After building from the three source trees, add the following lines to
the bottom of the Apache httpd.conf file as described in section III.C
of the Subversion INSTALL file (circa line 1056).

      <Location /svn/repos>
          DAV svn
          SVNPath /absolute/path/to/repository
      </Location>

Note that the subversion "make install" command apparently takes care of
putting the following line into httpd.conf:

     LoadModule dav_svn_module modules/mod_dav_svn.so

Also, note that Apache must be started by:

        /usr/local/apache2/bin/apachectl startssl

(rather than just "apachectl start") in order for https:// addresses to
be accepted.

I hope this helps.
Alan Thompson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 3 17:10:26 2004


本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
对于ubuntu下安装subversion的几点更正和补充
用 Apache 和 Subversion 搭建安全的版本控制环境
TracOnWindows - Prelude Hybrid IDS - Trac
基于阿里云服务器搭建SVN服务器
Windows 下安装并配置 SVN 服务器全过程
apache2 subversion,apache服务无法启动了,报:参考特定服务错误代...
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服