Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352050 - Too many redirects on test webapp from remote
Summary: Too many redirects on test webapp from remote
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: other (show other bugs)
Version: 7.4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 00:56 EDT by Jan Bartel CLA
Modified: 2011-09-13 15:24 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch (1.14 KB, text/plain)
2011-09-13 08:25 EDT, Thomas Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bartel CLA 2011-07-14 00:56:34 EDT
Using the test webapp:

1. unjar it and change $JETTY_HOME/contexts/test.xml to refer to unjarred webapp
2. in $JETTY_HOME/webapps/test make a new directory called "stuff"
3. in a browser on machine2, surf to stuff. Eg 
    http://machine1:8080/stuff/
   

You get "This page contains too many server redirects" or similar browser error.
Comment 1 Thomas Becker CLA 2011-09-13 08:25:26 EDT
Created attachment 203242 [details]
proposed patch

Proposed patch.
Comment 2 Joakim Erdfelt CLA 2011-09-13 15:24:08 EDT
Applied patch. Tested. Works as expected. Thanks Thomas! :-)