Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion sun webserver, 301 and 302 redirect requirements
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
iandiddams...@googlemail.com  
View profile  
 More options Oct 3 2012, 12:52 pm
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">
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


 
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.