---
title: "Linux下设置SVN的http代理服务器"
author: "hittyt"
date: "2011-01-20T00:04:20Z"
tags: []
categories: ["研发管理"]
slug: "linux-svn-http"
draft: false
lastmod: "2011-01-20T00:07:18Z"
id: 889181
url: "https://hittyt.iteye.com/blog/889181"
---

设置文件的位置：$HOME/.subversion/servers

具体需要关注的片段如下：

```
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
```

   
根据具体的代理服务器填写上面的http-proxy-host和http-proxy-port部分就可以了。

如果有特殊的授权访问需要，可能需要填写后面的用户名和密码。