Unfortunately none of this changes anything. I also tried the diagnostic 
curl command from the help page:


[dennis@nexusm ~]$ curl -iL 
http://jenkins.local/jenkins/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test
HTTP/1.1 302 Found
Date: Tue, 25 Mar 2014 22:28:12 GMT
Location: 
http://jenkins.local/jenkins/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/a%2Fb/
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8

HTTP/1.1 404 Not Found
Date: Tue, 25 Mar 2014 22:28:12 GMT
Server: Apache
Content-Length: 362
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL 
/jenkins/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/a/b/
 
was not found on this server.</p>
<hr>
<address>Apache Server at jenkins.local Port 80</address>
</body></html>

What's interesting here is that if I call the URL from the location header 
manually like this:
http://jenkins.local/jenkins/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/a%2Fb/
I get a 404 from Apache.

But when I call it like this (%2F => /):
http://jenkins.local/jenkins/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/testForReverseProxySetup/a/b/
I get a 404 from Tomcat with the message: "*expected a/b but got a"*

When I set "AllowEncodedSlashes on" then I get the 404 from tomcat with the 
message for both URLs.

Regards,
  Dennis

On Thursday, March 20, 2014 5:05:47 PM UTC+1, Dennis Jacobfeuerborn wrote:
>
> Hi,
> I just installed a fresh Jenkins behind Apache httpd and while Jenkins is 
> available it tells me "It appears that your reverse proxy set up is 
> broken." but I don't know why.
>
> This is my httpd config:
>
> <VirtualHost *:80>
>     ServerName jenkins.local
>     ProxyRequests Off
>     ProxyPreserveHost On
>     ProxyPass           / http://127.0.0.1:8080/
>     ProxyPassReverse    / http://127.0.0.1:8080/
> </VirtualHost>
>
> What specifically is wrong with this configuration?
>
> Regards,
>   Dennis
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to