---
title: "svn location with mysql validation setting in httpd.conf of apache"
author: "hehch"
date: "2011-12-13T09:53:02Z"
tags: []
categories: ["开源软件"]
slug: "svn-location-with-mysql-validation-setting-in-httpd-conf-of-apache"
draft: false
lastmod: "2011-12-13T09:53:02Z"
id: 1308262
url: "https://hehch.iteye.com/blog/1308262"
---

<Location /repos1> 
	DAV svn 

	#SVNListParentPath on 
	#SVNParentPath e:/svn 

	SVNPath E:/MyProgram/svn_repository/repos1

        #权限文件
	AuthzSVNAccessFile E:/MyProgram/svn_repository/conf/group.access

	#try anonymous access first,resort to real 
	#authentication if necessary. 
	#Satisfy Any 

	Require valid-user 

	#SVNIndexXSLT "/svnindex.xsl"

	#how to authenticate a user 
	AuthType Basic 
	#弹出认证窗口的描述字符串 
	AuthName "Check ID:" 
	#用户密码文件 
	#AuthUserFile E:/MyProgram/svn_repository/conf/auth_user
        #链接mysql ip 
	AuthMySQLHost localhost
	#用户名 
	AuthMySQLUser root 
	#密码
	AuthMySQLPassword root
	#数据库名 
	AuthMySQLDB safetys-oa    
	#表名
	AuthMySQLUserTable fk_user  
	#用户名字段
	AuthMySQLNameField user_name 
	#密码字段
	AuthMySQLPasswordField user_pass 
	#新的版本已经不支持这种用法，而使用下面一种用法
	#AuthMySQLMD5Passwords On 
	#none | crypt | scrambled | md5 | aes | sha1 
	AuthMySQLPwEncryption md5

     </Location>