Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: permanent redirection giving me wrong Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sahil80
Newbie
Newbie


Joined: 17 June 2008
Online Status: Offline
Posts: 7
Posted: 17 June 2008 at 12:20am | IP Logged Quote sahil80

I have following rule in my httpd.ini of ISAPI_REWRITE 2 on Win2k3 Server
Code:

[ISAPI_Rewrite]

RewriteCond Host: ^norfolkflorist\.com
#RewriteRule (.*) http\://www\.norfolkflorist\.com$1 [I,RP]


When i goto following URL.
http://norfolkflorist.com/
The server gives me following response

The requested resource was moved. It could be found here: http://www.norfolkflorist.com/

i just cannot find out why?. It works on other server is it something related to configuration of ISAPI?

Regards,
Sahil
 
Back to Top View sahil80's Profile Search for other posts by sahil80
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7460
Posted: 17 June 2008 at 12:31pm | IP Logged Quote Lexey

What you have showed here is not a rule. It is a syntax error followed by a comment. Show your real configuration, please.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
sahil80
Newbie
Newbie


Joined: 17 June 2008
Online Status: Offline
Posts: 7
Posted: 17 June 2008 at 2:02pm | IP Logged Quote sahil80

I have following in my file. Can you give me a correct syntex for it ?

Code:

[ISAPI_Rewrite]

RewriteCond Host: ^norfolkflorist\.com
RewriteRule (.*) http\://www\.norfolkflorist\.com$1 [I,RP]

This is what i have in the configuration. Can you let me know how do i achieve the 301 redirection. I have applied the same rule as available on Helicon website but it still gives me a HTTP 200 OK code with a string sent back to browser stating

======
The requested resource was moved. It could be found here: http://www.norfolkflorist.com/
=========
Back to Top View sahil80's Profile Search for other posts by sahil80
 
bgendler
Newbie
Newbie


Joined: 11 July 2008
Online Status: Offline
Posts: 1
Posted: 11 July 2008 at 7:27pm | IP Logged Quote bgendler

Did you get a response to this?  We are having the same problem (and are VERY frustrated).

Thanks
Back to Top View bgendler's Profile Search for other posts by bgendler
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum