Issue Details (XML | Word | Printable)

Key: GLASSFISH-18412
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Amy Roh
Reporter: tmpsa
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

Wrong content type on custom error page through mod_jk

Created: 27/Feb/12 09:18 AM   Updated: 02/Oct/12 01:12 PM   Resolved: 27/Feb/12 06:09 PM
Component/s: None
Affects Version/s: 3.1.1
Fix Version/s: 4.0_b25

Time Tracking:
Not Specified

File Attachments: 1. Text File GLASSFISH-18412.patch (2 kB) 10/Jul/12 02:09 PM - ancoron
2. Java Archive File web-core.jar (1.09 MB) 28/Sep/12 10:10 PM - Amy Roh
3. Java Archive File web-core.jar (1.09 MB) 01/Aug/12 07:32 PM - Amy Roh
4. Java Archive File web-core.jar (1.09 MB) 10/Jul/12 02:15 PM - ancoron

Environment:

Linux

Issue Links:
Duplicate
 

Tags: mod_jk 3_1_2-next
Participants: Amy Roh, ancoron and tmpsa


 Description  « Hide

I have a custom 404.html in ../docroot/404.html
My Glassfish is configured behinde Apache via mod_jk.
Browsing to a non-existing webapp shows this page nicely.
BUT browsing to my webapp when it is not working results
in a web page showing the SOURCE CODE of my 404.html.
It appears that a HTTP header is wrong in ths particular case.

See http://www.java.net/forum/topic/glassfish/glassfish/path-custom-default-error-page-resources?force=170