Good day,

I think this mailing list is the best place to post my problem:

I am running Jenkins on my own web-server (Ubuntu with Apache2) that is 
accessible by dyndns over port 444 of my router. My goal is to reach 
Jenkins by using the following SSL-URL:

     https://myPrivateURL.dyndns-office.com:444/jenkins/
 

So I configured my Apache like this:

     <virtualhost *:443>
     SSLEngine On
     SSLCertificateFile /etc/apache2/ssl/apache.pem

     <Proxy *>
         Order deny,allow
         Allow from all
     </Proxy>

     ProxyRequests Off

*     ProxyPass /jenkins/ http://localhost:8080/**     ProxyPassReverse 
/jenkins/ http://localhost:8080/*
     </virtualhost>

This makes Jenkins accessible if I enter 
https://myPrivateURL.dyndns-office.com:444/jenkins/ within my browser. 
However, not all links within the Jenkins-pages are correct. Consider the 
menu entries to the left including “New Job” or “Manage Jenkins”. E.g. 
“Manage Jenkins” refers to

     https://myPrivateURL.dyndns-office.com:444*/manage* 


However, the URL should include “jenkins” within the path. The following 
URL would be the right one (and works if manually entered)

     https://myPrivateURL.dyndns-office.com:444*/jenkins/manage* 

*How do I configure Jenkins so that a prefix is used to build the 
Jenkins-URLs?* Here is what I tried:


   1. I opened /etc/default/jenkins and appended “--prefix=/jenkins/” to 
   JENKINS_ARGS
   2. I added https://myPrivateURL.dyndns-office.com:444/jenkins/ 
as<hudsonUrl>inhudson.tasks.Mailer.xml 


However, if I try to open 
https://myPrivateURL.dyndns-office.com:444/jenkins/ adding the prefix and 
restarting Jenkins I always get the same error message:

<http://abload.de/img/42yjzb.png>

It does not matter what I enter as a prefix. Even if I use “abcdefg” as the 
prefix the error message remains the same. /var/log/jenkins/jenkins.logsimply 
says

>      [Winstone 2014/01/02 XX:XX:XX] - Request URL / not found - doesn't 
> match any webapp prefix
>
So I am not sure whether my apache2 is configured wrong or whether this is 
a problem with jenkins? I really appriciate any help!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to