Cannot get Rewrite to Work
23 posts
• Page 2 of 2 • 1, 2
Re: Cannot get Rewrite to Work
Hello,
Agreed with the rewriteUrl variable containing "MySite/sub_site".
There was a double registration of the ISAPI_Rewrite, but unfortunately it did not resolve my issue and nothing has changed. I also made sure that I had it in the correct ISAPI filters tab.
I believe that we are using IIS 5.1
Thank you.
Agreed with the rewriteUrl variable containing "MySite/sub_site".
There was a double registration of the ISAPI_Rewrite, but unfortunately it did not resolve my issue and nothing has changed. I also made sure that I had it in the correct ISAPI filters tab.
I believe that we are using IIS 5.1
Thank you.
Re: Cannot get Rewrite to Work
- So, does rewriteUrl variable now contain "MySite/sub_site"?
- And the rule you use now is RewriteRule /MySite/sub_site/.* /MySite/ [I,L] ?
- Have you done iisreset after making changes to ISAPI_Rewrite registration?
- If you put the following rule into your config:
RewriteRule /testtest/? http\://www.google.com [I,RP]
and request yoursite.com/testtest, what result do you get?
- And the rule you use now is RewriteRule /MySite/sub_site/.* /MySite/ [I,L] ?
- Have you done iisreset after making changes to ISAPI_Rewrite registration?
- If you put the following rule into your config:
RewriteRule /testtest/? http\://www.google.com [I,RP]
and request yoursite.com/testtest, what result do you get?
Re: Cannot get Rewrite to Work
Sorry, I can see that my last reply could have been a bit confusing.
-It does show rewriteUrl variable as "/MySite/sub_site/".
-I originally had RewriteRule /MySite/sub_site/.* /MySite/ [I,RP] but i changed it to RewriteRule /MySite/sub_site/.* /MySite/ [I,L] and that, combined with the double registration was what was making the rewriteUrl not work. I also had to change it to "MySite/sub_site" because the files would not read sub_site/.xml and sub_site/.xsl.
Everything works! Thank you so much! You have no idea how much of a pain it has been trying to get it to work! Thank you again!
-It does show rewriteUrl variable as "/MySite/sub_site/".
-I originally had RewriteRule /MySite/sub_site/.* /MySite/ [I,RP] but i changed it to RewriteRule /MySite/sub_site/.* /MySite/ [I,L] and that, combined with the double registration was what was making the rewriteUrl not work. I also had to change it to "MySite/sub_site" because the files would not read sub_site/.xml and sub_site/.xsl.
Everything works! Thank you so much! You have no idea how much of a pain it has been trying to get it to work! Thank you again!
23 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 8 guests