Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Server Webinterface cannot access Edited

Dear Community,

I have the following problem: Whenever I open a Bitbucket folder within a repository with a, I get "An error occured. Something went wrong while trying to serve your request. Try reloading the page." When I click on the filename "", I get "403 Forbidden". Cloning works fine, including Does anyone know how to fix this strange issue? I have had it with Bitbucket 6.0.0 and it remains after upgrading to 7.5.2. Disabling all add-ons does not help either.

Thank you for your help


2 answers

1 accepted

0 votes
Answer accepted

Hello Jannis,

I see that our support team was able to help resolve this issue via the support case you raised. For the benefit of others who may encounter this question on Community, I am including the findings here.

The configuration for Apache (in httpd.conf) which was used as a reverse proxy included a match directive that blocked the file. This configuration appears to be default in some software packages:

<LocationMatch "(?i:(?:wp-config\\.bak|\\.wp-config\\.php\\.swp|(?:readme|license|changelog|-config|-sample)\\.(?:php|md|txt|htm|html)))">
Require all denied

Removing the matcher for the *md* extension or the *readme* filename from the matcher will allow Bitbucket to serve the file correctly.


Thanks! I spent a lot of time until I found your article =)

For nginx

# "Block author scans"
# To remove this rule, revert this security measure on each WordPress installation on this domain
location ~* "(?:wp-config\.bak|\.wp-config\.php\.swp|(?:license|changelog|-config|-sample)\.(?:php|txt|htm|html))" {
return 403;

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

121 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you