This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Respone.Redirect pass ISAPI_Rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
SweeT EviL
Newbie
Newbie


Joined: 09 February 2011
Online Status: Offline
Posts: 20
Posted: 12 February 2011 at 5:29am | IP Logged Quote SweeT EviL

So I implement ISAPI_Rewrite on my site.
Now i put on my pages a Response.Redirect
But as it seems the redirect passes the ISAPI engine..
i.e. I see the new url but the rule doesnt apply.

for example i enter this:
example.com/SomePage.aspx

in SomePage.aspx.cs - PageLoad function theres:

Response.Redirect("/Page");

So I get redirected to example.com/Page
But it says to me "This link appears to be broken"

on httpd.ini I have this rule

RewriteRule ^/Page$ /Page.aspx [L]

My guess is that the Response.Redirect doesnt go through
the ISAPI_Rewrite...

How can I fix this??

Thanks
Back to Top View SweeT EviL's Profile Search for other posts by SweeT EviL
 
SweeT EviL
Newbie
Newbie


Joined: 09 February 2011
Online Status: Offline
Posts: 20
Posted: 12 February 2011 at 8:04am | IP Logged Quote SweeT EviL

solved, the hebrew chars was the problem, you need to
encode them first.
Back to Top View SweeT EviL's Profile Search for other posts by SweeT EviL
 

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