svn - Use user-environment variable in apache -
i create svn config file, use apache as:
<location /svn/myproject> svnpath d:\svnserver\projects\myproject\svn authzsvnaccessfile d:\svnserver\projects\myproject\conf\access.conf include d:\svnserver\projects\myproject\conf\require_users </location>
but root-path repeated much.
i want set path environment variable simple config.
setenvironment project_path d:\svnserver\projects <location /svn/myproject> svnpath $project_path\myproject\svn authzsvnaccessfile $project_path\myproject\conf\access.conf include $project_path\myproject\conf\require_users </location>
is possible? how implement this?
i tried setenv, setenvif of apache, couldn't success.
please help.
per documentation setenv:
sets environment variable, passed on cgi scripts , ssi pages.
so using setenv (and setenvif) makes var available scripts, not apache itself. unfortunately you're wanting isn't supported.
Comments
Post a Comment