Linux

websvn 권한 설정

Naan 2025. 2. 9. 01:06
320x100

websvn 권한 설정

viewvc 은 AuthUserFile, AuthzSVNAccessFile 를 이용해서 권한 설정을 할 수 있었다.

하지만..

https://websvnphp.github.io/docs/install.html#authentication

 

WebSVN Installation Guide

WebSVN Installation Guide Content Why WebSVN? WebSVN offers a view of your subversion repositories that's been designed to reflect the Subversion methodology. You can view the log of any file or directory and see a list of all the files changed, added or d

websvnphp.github.io

뭐 대충 AuthzSVNAccessFile 사용이 힘들다라는 내용이다.

그래서 다른 방법을 써야 하고

# vi /var/www/html/websvn/include/config.php

파일을 수정하고

$config->useAccessFile('/data/authz');

추가 해주고 아파치 재시작 해주면 된다.

authz 파일은 svn 권한 설정하는 내용이 있으면 된다.

 

그리고 제일 큰 문제가 하나 있다.

viewvc 같은 경우 경로가 https://ip/viewvc/test/aaa/bbb 이런식으로 된다면

websvn 은 위와 같이 주소값이 10진수? 처럼 표현이 된다. 그래서 경로 권한을 준다고 해도 주소를 제대로 알수가 없다. 사실상 사용하기 불편하다.

 

728x90
320x100