Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change base URL, windows - apache

oscsan August 6, 2018

I'm using the windows computer name as a local url name for my jira and fisheye installations.

 

I.e http://windowsserver/jira, http://windowsserver/fisheye and it works good in those two instances. 

However, for bitbucket I have configured:

Bitbucket.properties

jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://localhost
jdbc.user=name
jdbc.password=pass
server.context-path=/bitbucket
server.port=7990
server.redirect-port=80 %% I tried with and without this line
server.proxy-name=windowsserver %% I tried with and without this line

 

Apache

<VirtualHost *:80>
    ServerName windowsserver
    ProxyRequests Off
    ProxyVia Off
    
    <Proxy *>
         Require all granted
    </Proxy>
 
    ProxyPass /jira http://windowsserver:8080/jira
    ProxyPassReverse /jira http://windowsserver:8080/jira
 
 ProxyPass /bitbucket http://windowsserver:7990/bitbucket
    ProxyPassReverse /bitbucket http://windowsserver:7990/bitbucket
 
 ProxyPass /bitsearch http://windowsserver:7992
    ProxyPassReverse /bitsearch http://windowsserver:7992
 
</VirtualHost>

 

Bitbucket

BaseUrl: http://windowsserver/bitbucket

And I still get a warning for Base URL mismatch when I enter via http://windowsserver/bitbucket

 

Thanks for any help

Best regards

Oscar

1 answer

1 accepted

1 vote
Answer accepted
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2018

You're missing server.proxy-port in your bitbucket.properties.

oscsan August 6, 2018

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events