Hi there,
In order to prove that I'm the owner of a bitbucket instance, I need to server a file from bitbucket (e.g. https://sources.mydomain.com/proof-file.txt).
In JIRA and Confluence, I can just use the atlassian-jira / atlassian-bitbucket folder in the application directory.
However, placing the file in the "atlassian-bitbucket"-folder on my bitbucket machine does not work. It's the folder that also contains fatal.jsp, META-INF, startup.jsp, static, WEB-INF.
I've made sure that the permissions and owner of the file are correct - however, bitbucket still gives me a 404 when I try to access the file.
Which would be the correct folder?
Hi Patrick! It looks like you're talking about Bitbucket Server, however, Bitbucket Server doesn't have a folder where you can place that file. There's a Feature request for that, and you can vote for it at BSERV-4099.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ana,
thanks for your reply!
Just to be sure: There is currently no way to serve a static file without paying for 3rd party software? It does not need to be adressable in any repo subfolder, I really need it within the webroot.
patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick, for Bitbucket Server I'm afraid there's not. However, if you use Bitbucket Cloud you can serve a static file as explained at Publishing a website on Bitbucket Cloud.
Let us know if you have any other questions!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.