Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/svn/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用于SVN和LDAP的Apache URL变量_Apache_Svn_Setenv - Fatal编程技术网

用于SVN和LDAP的Apache URL变量

用于SVN和LDAP的Apache URL变量,apache,svn,setenv,Apache,Svn,Setenv,这更多的是一个与Apache如何处理变量和setenif指令有关的问题。我有一个位于的Subversion服务器,其SVN配置如下: <Location /svn> DAV svn SVNParentPath /path/to/repo/base AuthzSVNAccessFile /path/to/access AuthName "LDAP Auth" AuthBasicProvider ldap AuthType Basic

这更多的是一个与Apache如何处理变量和setenif指令有关的问题。我有一个位于的Subversion服务器,其SVN配置如下:

<Location /svn>
    DAV svn
    SVNParentPath /path/to/repo/base
    AuthzSVNAccessFile /path/to/access
    AuthName "LDAP Auth"
    AuthBasicProvider ldap
    AuthType Basic
    AuthzLDAPAuthoritative off
    AuthLDAPURL "ldap://172.20.20.20:389/dc=test,dc=net?uid" NONE
    AuthLDAPBindDN "cn=svn,ou=system,dc=test,dc=net"
    AuthLDAPBindPassword secret
    Require valid-user
</Location>
SetEnvIf Request_URI "http://test.net/svn/$1/.*" repo-name=$1
...
...
Require ldap-group cn=$repo-name,ou=system,dc=test,dc=net