I would like to access confluence through / hidden behind my webserver preferable even ssl protected.
- I had that working with the previeus confluence version by using apache proxy
First step is of course to change the base url in confluence general configuration. However after changing server base url from http://localhost:8090 to e.g. http://<mydomain>:8090/confluence I obeserved two problems:
2) the plugin administration page is telling me it can not access the plugin site (which it can as soon as I switch back to the original base url)
Both seems not OK to me
The base URL has to be exactly like the one you have in your browsers URL-bar. If you access your Confluence and the address is http://<mydomain>/confluence then the base URL has to be exactly like this as well (without the port). If you use SSL encryption, then you should have even the "s" in the base URL - https://<mydomain>/confluence . If the URL matches the base URL, then the Universal Plugin Manager should work properly again as well.
The Problem as I see it is, you probably use a different URL to connect to Confleucne whether you are connecting from outside your LAN (i.e. through the webserver) to when you are connecting from the LAN directly. The solution would be to always connect through the webserver.
I hope this helps.
I have it working since some time now. I am using https://<mydomain>/confluence now. To get that working, I have setup apache virtualhost file to handel SSL and to proxy it to d to change settings in the the confluence Server.xml file.
#Apache virtual host
Require all denied
# The <Location> directive limits the scope of the enclosed directives by URL
Require all granted
-<Server shutdown="SHUTDOWN" port="8000"> -<Service name="Tomcat-Standalone"> <Connector port="8090" acceptCount="10" maxProcessors="5" minProcessors="1" useURIValidationHack="false" enableLookups="false" connectionTimeout="15000" scheme="https" protocol="HTTP/1.1" URIEncoding="UTF-8" proxyPort="443" proxyName="<mydomain>" RedirectPort="8443" className="org.apache.coyote.tomcat4.CoyoteConnector"/> -<Engine name="Standalone" defaultHost="localhost"> -<Host name="localhost" autoDeploy="false" unpackWARs="true" appBase="webapps"> -<Context useHttpOnly="true" reloadable="false" docBase="../confluence" path="/confluence">
<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname=""/> </Context> </Host> </Engine>
<!-- To run Confluence via HTTPS: * Uncomment the Connector below * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of "changeit" for both the certificate and the keystore itself. * Restart and visit https://localhost:8443/ For more info, see http://confluence.atlassian.com/display/DOC/Adding+SSL+for+Secure+Logins+and+Page+Security -->
<!-- <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" SSLEnabled="true" URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/> -->
# some updates I think
Thats how it is working now
After changing in base url, I am not able to access the confluenc wiki with new url. Still old url is working.
Old url : http//<serverName>:8080/pages
Changes url: http//myname.com/pages
After change the url, i have restarted the Confluence service and tried to hit changed url,but not working. When I hit old url then confluence is working. I can not see any where the existing url in any config file/database/baseurl....everwhere changed url is visible, But still why my Confluence is pointing old url???
Please let know the steps to change url for Confluence Wiki and also let me know where I am missing?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs