Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Getting ISAPI to work Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
silverfly
Newbie
Newbie


Joined: 06 August 2008
Online Status: Offline
Posts: 4
Posted: 06 August 2008 at 5:33pm | IP Logged Quote silverfly

Hello,
     I just installed the software and I've tested multiple rules (admittedly not knowing what they mean) and I can't seem to get any result no matter what my .htaccess file has in it.

Any help would be greatly appreciated.

Thanks.
Back to Top View silverfly's Profile Search for other posts by silverfly
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 07 August 2008 at 5:00am | IP Logged Quote Anton

Please explain what would you like to achieve, provide examples of initial and rewritten urls.
Also tell what errors do you get.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
silverfly
Newbie
Newbie


Joined: 06 August 2008
Online Status: Offline
Posts: 4
Posted: 07 August 2008 at 10:21am | IP Logged Quote silverfly

Hi Anton,
     Ultimately, I'd like to be able to redirect any visitor to a different URL than they initially type in.

We have recently recoded and restructured the file names of our website.  So, one example is the about page used to be found at:

www.website.com/about/index.html

But now it is www.website.com/2-0_about.cfm

So, ultimately I need something that will redirect these files.

I am currently not getting any output or results when I try any rule.  I get no errors or anything.

-Nick
Back to Top View silverfly's Profile Search for other posts by silverfly
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 08 August 2008 at 3:25am | IP Logged Quote Anton

Please try to put the following config into the .htaccess in the root of your site:

RewriteBase /
RewriteRule ^about/index\.html$ 2-0_about.cfm [NC,R=301,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
silverfly
Newbie
Newbie


Joined: 06 August 2008
Online Status: Offline
Posts: 4
Posted: 08 August 2008 at 12:09pm | IP Logged Quote silverfly

Nothing happened.

To make things a little easier, I tried working with my website: www.silverflydesign.com

I am trying a test:

Redirect anyone who clicks on www.silverflydesign.com/lemonade.html back to the home page (www.silverflydesign.com/index.cfm)

I have tried this:

RewriteBase /
RewriteRule ^lemonade\.html$ index.cfm [NC,R=301,L]

But still nothing.

If I can get this working, I believe I can make some headway on my own from there.

Thanks again.
Back to Top View silverfly's Profile Search for other posts by silverfly
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 11 August 2008 at 3:22am | IP Logged Quote Anton

Please make sure ISAPI_Rewrite3 filter is up and running in IIS - Web Sites properties - ISAPI filters.
Also please check permissions as per http://www.helicontech.com/isapi_rewrite/doc/security.htm
And please tell where do you put your rules.


__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
silverfly
Newbie
Newbie


Joined: 06 August 2008
Online Status: Offline
Posts: 4
Posted: 11 August 2008 at 12:20pm | IP Logged Quote silverfly

It seems to be working when applied to all of our websites.  If the rewrite rules are in the root folder of IIS, it works.  We run into problems when applied to specific sites.  We have had some luck with a couple rules by reading more articles and tweaking the code, but we're going to pass the problem onto our tech guy and see if he can get it working.

There could be issues with having a collocated server with multiple websites or something.  I'm not sure, but go ahead and close this as almost resolved. 
Back to Top View silverfly's Profile Search for other posts by silverfly
 

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 can vote in polls in this forum