I know I have seen and followed a dozen posts about this, but still cannot get the proper connectivity. I am running:
I cannot get my Page to show up at the proper URL (devtools.metafra.me/jira) from the standard devtools.metafra.me:8080
Here are the current Configurations. Any assistance would be appreciated.
Apache File - 000_jira.conf
<VirtualHost *:80>
ServerName devtools.metafra.me
ProxyRequests Off
ProxyVia Off
<Proxy *>
Require all granted
</Proxy>
ProxyPass /jira http://localhost:8080/jira/
ProxyPassReverse /jira http://localhost:8080/jira/
</VirtualHost>
JIRA Server xml - /opt-atlassian/jira/conf/server.xml
<Connector port="8080"
relaxedPathChars="[]|"
relaxedQueryChars="[]|{}^\`"<>"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="HTTP/1.1"
useBodyEncodingForURI="true"
redirectPort="8443"
acceptCount="100"
disableUploadTimeout="true"
bindOnInit="false" scheme="http"
proxyName="devtools.metafra.me" proxyPort="80"/>
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
<JarScanner scanManifest="false"/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="120" />
</Context>
</Host>
I am able to see the apache placeholder on the main URL
For some reason, the Configuration URL is wonky now too (Seeing Tomcat errors in the BG)
I think there are some minor problems with your /s in the settings.
First, In the proxy settings file for apache, you should make the ending of urls consistent in the proxy pair. So
ProxyPass /jira http://localhost:8080/jira/
should be
ProxyPass /jira/ http://localhost:8080/jira/
or
ProxyPass /jira http://localhost:8080/jira
The other, probably more important one, is that you've put in a context path of /jira in the server.xml - try just jira without any slashes (it doesn't need to match the proxy)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.