You don't have permission to access file on this server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

In Bitbucket Server (up to version 4.x), when trying to browse the UI to view files under certain directories (i.e. WEB-INF), an error is shown:

Forbidden
You don't have permission to access /projects/CIET/repos/event-app/browse/webapp/src/main/webapp/WEB-INF/web.xml on this server.

原因

A configuration in your reverse proxy is blocking the access to certain URLs. If you are using Apache, look out for configurations in httpd.conf like:

<Proxy */projects/CIET/repos/event-app/browse/webapp/src/main/webapp/WEB-INF>
    Order Deny,Allow
    Deny from all
</Proxy>

または

<LocationMatch "/WEB-INF/">
deny from all
</LocationMatch>

<LocationMatch "/META-INF/">
deny from all
</LocationMatch>

ソリューション

Configure your reverse proxy to allow requests to those URLs.

最終更新日 2017 年 4 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.