• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Facing problem in trying a 301 Redirect

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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"
</Client>

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�
</Client>
</Object>

The server i am using is iPlanet 6.1.

Can someone please assist.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not an advanced question. Moving...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic