Hello,
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:
1) the base url did not change (e.g. site still refering to http://<mydomain > not http://<mydomain>/confluence
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
SIncerely,
Louis
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.
- Thomas
Hi,
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?
Thanks,
Pawan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
#GUI
#Apache virtual host
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Require all denied
</Proxy>
# The <Location> directive limits the scope of the enclosed directives by URL
<Location /confluence>
Require all granted
ProxyPass http://localhost:8090/confluence
ProxyPassReverse http://localhost:8090/confluence
</Location>
#confluence server.xml
<?xml version="1.0"?>
-<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>"/> -->
</Service> </Server>
# some updates I think
Thats how it is working now
Sincerely,
Louis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.