2016-08-18 1 views
0

Oracle Linux VM에서 Phabricator를 구성합니다. 나는 Phabricator의 공식 가이드처럼 모든 것을했습니다. 모든 것이 잘 작동합니다. 브라우저에 ip 주소를 입력하면 아파치 메인 페이지를 볼 수 있습니다. 내가 httpd.conf 파일의 끝에 다음 줄을 추가 할 때 :httpd.conf 파일에 "<VirtualHost *>"를 추가 한 후 "금지되어 있습니다. 액세스 할 수 없습니다"

<VirtualHost *> 
    # Change this to the domain which points to your host. 
    ServerName phabricator.example.com 

    # Change this to the path where you put 'phabricator' when you checked it 
    # out from GitHub when following the Installation Guide. 
    # 
    # Make sure you include "/webroot" at the end! 
    DocumentRoot /path/to/phabricator/webroot 

    RewriteEngine on 
    RewriteRule ^/rsrc/(.*)  -      [L,QSA] 
    RewriteRule ^/favicon.ico -      [L,QSA] 
    RewriteRule ^(.*)$   /index.php?__path__=$1 [B,L,QSA] 
</VirtualHost> 

I 수신 : "

을 금지 당신은이 서버에/액세스 권한이 없습니다

을 추가. 요청을 처리하기 위해 ErrorDocument를 사용하려고 시도하는 동안 403 Forbidden 오류가 발생했습니다. "

내가 뭘 잘못하고 있니?

내가 /etc/httpd/conf.d/에 가서 파일 'welcome.conf'발견

를 해결했다. 이 줄 <Directory /usr/share/httpd/noindex> 나는이 변경 : <Directory /<path>/phabricator/webroot> 그리고 별명은 STH 다음과 같이이다 : Alias /.noindex.html /opt/phabricator/phabricator/webroot/index.html

이 나를 위해 작동합니다. /path/to/phabricator/webroot : 나는 보통

경로가 있는지 확인합니다 "파일이 잘못된 권한한다는 것을 의미한다"나는

답변

0

403 Forbidden을 도울 수 있기를 바랍니다

  • 적절한 권한을 가지고 있음을 755 또는 644
  • (선택 사항 일 수 있음) : Apache (또는 Apache에 대해 소유 한 사용자)
+0

나는 그것을 검사했다. 나는 이미 다른 파일에 몇 줄을 추가하여이 문제를 해결했다. 그러나 지금 나는 그것이 있었던 곳을 잊는다 :) 내가 remined했을 때, 나는 나의 질문을 갱신 할 것이다 – mynameis

관련 문제