CVSVIEW설치에 대해서...
송지석님이 올리신 대로 viewcvs 설치를 했습니다
이렇게 접속을 하면
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster
Error 403
이런 메세지가 나오네요 ~
아시는분 있으시면 답변 부탁드립니다 ^^
viewcvs 설치
fedora에서는 useradd시 홈디렉토리의 권한이 타인에게 실행권한이 없게 만들어진다. 오류가 날 수 있으니 주의할 것.
viewcvs가 리포지토리에 접근하기 위해서는 실행권한이 디렉토리가 있어야 한다.
http://viewcvs.sourceforge.net download viewcvs0.9.2
압축 풀고, 루트 권한으로 ./viewcvs-install 실행
기본 디렉토리로 하면 됨.
viewcvs.conf 설정.
-----------8<----------------------8<--------
cvs_roots =
Prj1 : /home/cvs/repository1,
Prj2 : /home/cvs/prj2,
test : /home/cvs/test
# this is the name of the default CVS root.
default_root = Prj2
mime_types_file = /etc/mime.types
address = <a href="mailto:you@some.com">Your name</a>
main_title = Some name
languages = ko, en-us
----------->8---------------------->8--------
httpd.conf 수정.
# vi /etc/httpd/conf/httpd.conf (fedora core1의 경우)
-----------8<----------------------8<--------
ScriptAlias /viewcvs/ "/usr/local/viewcvs-0.9.2/cgi"
<Directory "/usr/local/viewcvs-0.9.2/cgi">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
----------->8----------------------->8---------
Options None 을Options ExecCGI로
Options None
을
Options ExecCGI
로 바꾸셔야 할 듯..
또 확인해야할 것이 apache 실행권한으로 /usr/local/viewcvs-0.9.2/cgi 에 접근할 수 있도록 해야합니다.
---
http://coolengineer.com
댓글 달기