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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 README.md Edited

Dear Community,

I have the following problem: Whenever I open a Bitbucket folder within a repository with a README.md, I get "An error occured. Something went wrong while trying to serve your request. Try reloading the page." When I click on the filename "README.md", I get "403 Forbidden". Cloning works fine, including README.md. 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

Jannis

1 answer

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 readme.md 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.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.5.2
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,922 views 0 7
Read article

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