Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Proxy apoplexy

I agree that the documentation is outdated, but it states that it applies to Jetty version 7.0.x in the title...

-Michael

On Wed, Mar 16, 2011 at 2:27 PM, Clive van Hilten <clive.vanhilten@xxxxxxxxxxx> wrote:
Thanks for that Micheal, the URL below works. Maybe the documentation here should updated as this is where I got the erroneous URL:




On Wed, Mar 16, 2011 at 6:15 PM, Michael Gorovoy <michael@xxxxxxxxxxx> wrote:
Demo application is deployed in Jetty 7 distribution as root context, so you should use URL http://localhost:8080/ to access it.

-Michael


On Wed, Mar 16, 2011 at 12:08 PM, Clive van Hilten <clive.vanhilten@xxxxxxxxxxx> wrote:
Thanks very much for your reply, Michael. I downloaded a fresh copy of jetty-distribution-7.3.0.v20110203, unzipped it, and issued a java -jar start.jar command. When requesting http://localhost:8080/test I get a 404 and the request log reads as follows:

0:0:0:0:0:0:0:1 -  -  [16/Mar/2011:15:45:02 +0000] "GET /test HTTP/1.1" 404 55 

I tried switching from Chrome to Firefox, and clearing my browser caches, with the same result.

Opera also fails, but the request log is slightly different (note the 127.0.0.1 address):

127.0.0.1 -  -  [16/Mar/2011:15:59:21 +0000] "GET /test HTTP/1.1" 404 55 

If I try and access the test webapp over my LAN at http://[IP address]:8080/test, Firefox on Windows tells me that "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies."

I haven't disabled or refused cookies.

What can I have messed up in such a 'vanilla install'?

Regards,

Clive


On Wed, Mar 16, 2011 at 2:23 PM, Michael Gorovoy <michael@xxxxxxxxxxx> wrote:
Greetings,

If you are starting a new deployment, it is recommended that you use Jetty 7, because Jetty 6 is not being actively developed anymore.

For proxy setup details, please refer to the test application that is shipped with Jetty, it has a /javadoc context path inside it that is proxied to eclipse.org.

Thanks,
Michael










Back to the top