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: Should be easy,..
Author
Message |
onegative79
Newbie


Joined: 25 February 2011
Posts: 3
Posted: 25 February 2011 at 10:31am

First time and having some issues. Can someone help me with making this

http://domain.com/jobs/jobs.cfm?job_title=Web_Engineer

into this

http://domain.com/jobs/job_title/Web_Engineer

thanks in advance!

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 28 February 2011 at 3:16am

If it's v2 of ISAPI_Rewrite you are using, here's the config:

[ISAPI_Rewrite]

RewriteRule /jobs/job_title/([^/.]+) /jobs/jobs.cfm\?job_title=$1 [I,L]

__________________
Regards,
Anton
Back to Top
 
onegative79
Newbie


Joined: 25 February 2011
Posts: 3
Posted: 28 February 2011 at 8:09am

Thanks for the quick reply,.. Im getting a "pattern not matched" in the regexTest for:

/jobs/jobs.cfm?job_title=Web_Engineer

when applying

RewriteRule /jobs/job_title/([^/.]+) /jobs/jobs.cfm\?job_title=$1 [I,L]

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 01 March 2011 at 3:27am

Ah, ok, I see what you mean.

Please try to fix the config like this:


[ISAPI_Rewrite]

RewriteRule /jobs/jobs\.cfm\?job_title=([^/.]+) /jobs/job_title/$1 [I,RP]
RewriteRule /jobs/job_title/([^/.]+) /jobs/jobs.cfm\?job_title=$1 [I,L]


__________________
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