Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Facing problem in trying a 301 Redirect

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to rewrite all 302 Moved Temporarily responses to 301 Moved Permanently responses. I have added this code in the obj.conf but still getting the 302 response -
<Client code="302">
Output fn="set-variable" error="301 Moved Permanently" noaction="true"

Have tried writing the above in two other ways as well -
I) The above client tag right under the <Object name="default"> tag
II) IN the following way at the end of obj.conf -
<Object ppath=�path�>
<Client code=�302�>
Output fn=�set-variable� error=�301� noaction=�true�

The server i am using is iPlanet 6.1.

Can someone please assist.
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an advanced question. Moving...
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic