Hi mate, really many thanks....it worked for me.
On Aug 19, 4:22 pm, Seanbernardx <[email protected]> wrote:
> Hitesh,
>
> I've been using Ionics Isapi Rewrite Filter quite successfully on
> windows server 2003 & IIS 6 for a while now...http://www.codeplex.com/IIRF
>
> To create rules, edit the file named "IsapiRewrite4.ini" found in "C:
> \Program Files\<IonicIsapiRewriter Install Location>".
> Here is an example rule I came up with based on your message:
>
> RewriteRule ^/jobsbysector/itjobs/([^.]+)$ /jobs.cfm?itjobs=$1
> or
> RewriteRule ^/jobsbysector/([^.]+)/([^.]+)$ /jobs.cfm?$1=$2
>
> The break down: "^/" refers to the root url (eg:http://www.abc.com").
> Regular expressions in the brackets "([^.]+)" can be scoped variables
> by placing the "$" symbol at the end of the string to match - "^/
> jobsbysector/([^.]+)/([^.]+)$".
> Next add where the rule will map to " /jobs.cfm?$1=$2". $1 referring
> to the first regex var, $2 for the second, etc.. In my second example
> I gave, you will notice there are 2 regular expressions - therefor
> there are 2 variables made available when mapping the rule ($1, $2).
>
> Hope this helps.
>
> On Aug 18, 6:51 pm, Hitesh <[email protected]> wrote:
>
> > How .htaccess file should be written to meet following need?
>
> >http://www.abc.com/jobsbysector/itjobs/programmer
> > should be converted to implicitly by
> > IIShttp://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 be installed properly.
>
> > Can anyone help me how to write ReWriteRule for this?
>
> > Thanks in advance.
> > Hitesh.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---