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: What should be the ReWriteRule? (Topic Closed Topic Closed)
Author
Message |
hiteshpatel1979
Newbie


Joined: 18 August 2009
Location: Australia
Posts: 4
Posted: 18 August 2009 at 3:41am  

How .htaccess file should be written to meet following need?

http://www.abc.com/jobsbysector/itjobs/programmer
should be converted to implicitly by IIS
http://www.abc.com/jobs.cfm?itjobs=programmer

NOTE: There is no directory like jobsbysector physically exists.

I have windows server 2003 and IIS 6. The plug-in called ISAPI_ReWrite 3 also seems to installed properly.

Can anyone help me how to write ReWriteRule for this?

Thanks in advance.
Hitesh.
Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 18 August 2009 at 9:49am  

Please try the following config:

RewriteBase /
RewriteRule ^jobsector/([^/]+)/([^/]+)/?$ jobs.cfm?$1=$2 [NC,L]

__________________
Regards,
Anton
Back to Top
 
hiteshpatel1979
Newbie


Joined: 18 August 2009
Location: Australia
Posts: 4
Posted: 18 August 2009 at 9:29pm  

Hi Anton,

You are great...it worked for me...many thanks.

Hitesh.
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