Sun Java System Web Server 7.0U8 B01/20/2010 09:38
sun webserver by default redirects as 302 redirects.
The webserver in use, has obj.conf with the following to force all redirects to be 301s
<Client code="302">
Output fn="set-variable" error="301" noaction="true"
</Client>
So far so good.
However... now we have a requirement for a 302 redirect.
I've tried
NameTrans fn="redirect" from="/diddstest/" url="
http://www.bbc.co.uk" status="302"
but that doesn't work
So I then tried
AuthTrans fn="redirect" url="
http://www.bbc.co.uk" status="302"
NameTrans fn="redirect" from="/diddstest/" url="
http://www.bbc.co.uk"
But that didn't work either.
So my question is...
given all the other redirects must be 301s, and with code in place to acheive that, how can I now ensure a "one off" redirect is a 302?
cheers
Ian