Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Facing problem while trying 301 Redirect  RSS feed

 
Arti Soni
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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.
 
Joe Ess
Bartender
Posts: 9426
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!