This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Anyone point me in the right direction?
Author
Message |
nish142
Newbie


Joined: 23 February 2010
Posts: 3
Posted: 23 February 2010 at 9:24pm

I just installed isapi_rewrite on Windows Server 2003, but I cannot get the filter to work.

I ran the automatic install which installs the filter globally, then I went to a test site and placed the httpd.ini file in the root of the site.

I have the following httpd.ini file:
[isapi_rewrite]
RewriteRule /statepage/(.*)\.asp /statepage.asp\?state=$1

The way I understand it http*://www.mysite.com/statepage/State/NY.asp will be served by http*://www.mysite.com/statepage.asp?state=NY with that rule - well, nothing happens.

According to isapi_rewrite site, a httpd.parse.error file should be written if an error occurs - no file is written.

I went to IIS Manager > Web Sites> Mysite > Isapi Filters, and added the filter isapi_rewrite
Still the filter does not work.

Can anyone point me in the right direction - thanks.



__________________
organic search marketing
Utah Internet Marketing Services
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 24 February 2010 at 2:36am

"The way I understand it http*://www.mysite.com/statepage/State/NY.asp will be served by http*://www.mysite.com/statepage.asp?state=NY with
that rule" - you are slightly wrong...

Here's what the rule should look like:

[ISAPI_Rewrite]
RewriteRule /statepage/State/([^./]+)\.asp /statepage.asp\?state=$1 [I,L]

And please have the ISAPI_Rewrite filter on the global level only. Please remove it from the site level.

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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