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 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: rewrite conflict
Author
Message |
shawnaraxi
Newbie


Joined: 26 January 2010
Posts: 22
Posted: 14 September 2010 at 6:17pm

i have the following rule

RewriteRule ^/members(.*) /index.cfm?action=members$1&language=english [I,L]

this is supposed to redirect the folder members on the site but not any url with members.

it works for this (good)
http://127.0.0.1:8502/members
but also works for this (bad)
http://127.0.0.1:8502/index.cfm?action=members.webQ1

 

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 15 September 2010 at 5:38am

Can't imagine how it is possible...
Do you have this single rule in the config?
Are you using ISAPI_Rewrite 2?

__________________
Regards,
Anton
Back to Top
 
shawnaraxi
Newbie


Joined: 26 January 2010
Posts: 22
Posted: 15 September 2010 at 5:37pm

yes, I'm using ISAPI_Rewrite 2

changed it to
RewriteRule ^/members(.*) /index.cfm?action=members$1&language=english [I,L]

it seems to do its job now. would this be correct?

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 16 September 2010 at 3:48am

Yes, this looks correct.

__________________
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