Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: 302 redirect content type |
|
Author |
|
4sfed
Joined: 03 Jul 2010 Posts: 2
|
Posted: Sat 03 Jul '10 5:52 Post subject: 302 redirect content type |
|
|
Hi all,
Hoping somebody may be able to help.
In our application (jboss/apache) i am getting an issue when implementing it through IBM Webseal.
In one of our application pages, it issues a 302 redirect, but when tracing the headers of this action it gives a content-type of the following:
Content-Type ;charset=utf-8
As you can see its actually truncated and should be looking like this:
Content-Type text/html;charset=utf-8
unfortunately Webseal proxy looks for this and is preventing access to the page due to an incomplete content type.
what i am trying to determine if there is any way in apache to have it "force" the insertion of a correct content type?
We are investigating rewriting this portion of our application but a that is aloooong way off so i need to try and come up with a quicker solution.
is there anyway that i can force this content type?
I have tried using the mod_headers but i have since found out that it wont modify the content-type.
Any and all suggestions great accepted!
thanks. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
4sfed
Joined: 03 Jul 2010 Posts: 2
|
Posted: Wed 07 Jul '10 2:41 Post subject: |
|
|
Thanks for the information, but as i alluded to in my original post it appears as though the mod_headers can not modify the content type.
I will go back and retest this but i am pretty sure i have already tried this and come to a dead end.
If you have a specific syntax that you know would be able to do this then that would be very much appreciated! |
|
Back to top |
|
|
|
|
|
|