Newsgroups: comp.sys.sun.admin
From: iandiddams...@googlemail.com
Date: Wed, 3 Oct 2012 09:52:21 -0700 (PDT)
Local: Wed, Oct 3 2012 12:52 pm
Subject: sun webserver, 301 and 302 redirect requirements
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">
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"
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
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||