blob: 7e98179174cb41cd577b1d3bdae56d0681eac145 [file] [log] [blame]
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
package main
import (
// Subversion is so complicated it can only run from inside Apache.
// Assume an appropriately configured Apache is on 8888.
func svnHandler() http.Handler {
u, err := url.Parse("")
if err != nil {
return httputil.NewSingleHostReverseProxy(u)