David Weintraub
2011-08-11 18:14:24 UTC
I'm attempting to follow the directions to get reverse proxy to work.
Here's my setup:
Machine #1: sys1
Machine #2: sys2
Jenkins runs on Machine #2 on port 8080 as http://sys2:8080 using the
Winstone appserver. I am running the website from Machine #1.
I want:
http://sys1/jenkins
to redirect to:
http://sys2:8080
Following the directions on this page:
https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
I have the following configured in my httpd configuration:
ProxyPass /jenkins http://sys2:8080
ProxyPassReverse /jenkins http://sys2:8080
<Proxy http://sys2:8080/*>
Order deny,allow
Allow from all
</Proxy>
Starting httpd shows no errors. And, I can go to
sys1.company.com/jenkins, and the main Jenkins page gets pulled up,
but with a bunch of broken links.
The link URLs are missing the Jenkins directory name. For example, if
I click on one line, it tries to load
http://sys1.company.com/view/Claims, and I get 404'd. However, if I
add in the Jenkins directory:
http://sys1.company.com/jenkins/view/Claims
it works (except for all the broken links).
Does anyone see what I'm doing wrong?
Here's my setup:
Machine #1: sys1
Machine #2: sys2
Jenkins runs on Machine #2 on port 8080 as http://sys2:8080 using the
Winstone appserver. I am running the website from Machine #1.
I want:
http://sys1/jenkins
to redirect to:
http://sys2:8080
Following the directions on this page:
https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache
I have the following configured in my httpd configuration:
ProxyPass /jenkins http://sys2:8080
ProxyPassReverse /jenkins http://sys2:8080
<Proxy http://sys2:8080/*>
Order deny,allow
Allow from all
</Proxy>
Starting httpd shows no errors. And, I can go to
sys1.company.com/jenkins, and the main Jenkins page gets pulled up,
but with a bunch of broken links.
The link URLs are missing the Jenkins directory name. For example, if
I click on one line, it tries to load
http://sys1.company.com/view/Claims, and I get 404'd. However, if I
add in the Jenkins directory:
http://sys1.company.com/jenkins/view/Claims
it works (except for all the broken links).
Does anyone see what I'm doing wrong?
--
David Weintraub
qazwart-***@public.gmane.org
David Weintraub
qazwart-***@public.gmane.org