I have it working for localhost now...I set up a dummy subdomain in the
hosts file and I am tryingto get that to work.  To answer your questions...

1.  I have that in the regex because that is what they had in their
example...I don’t know regex very well as I don’t use it often enough to
really remember it well.  

If I go to http://localhost/test/job/company/location/city/state/50...I get
my dump of the vars as expected.

If I go to http://jobads.mydomain.com/job/company/location/city/state/50 I
get a 404.  jobads.mydomain.com is paired with 127.0.0.1 in my hosts file
and in IIS, it points to the test directory.

2.  Yes, it will always be in that format.  The server is not available
publically, so I can't post links.

Unfortunately the server is behind a firewall, so I can't post live links.

Thanks!


Eric
-----Original Message-----
From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] 
Sent: Monday, March 01, 2010 12:52 PM
To: cf-talk
Subject: Re: Micronovae's mod rewrite module on IIS 6 and CF 6.1...


In this fragment, you have /?, meaning that the / is optional. Why?
^/([^/]+)/?([^/]*)

Is the url always going to be in the
/jobname/company/location/city/state/jobid format or are some shorter?
Can you post a few 'live' links for example? If you keep the http
prefix off of the url then the list will not try and format them as
actual links in the web archives, if that is your concern.

Thanks

--
Michael Dinowitz




On Mon, Mar 1, 2010 at 1:01 PM, Eric Roberts
<ow...@threeravensconsulting.com> wrote:
>
> That's encouraging hehehehe
>
> This is the rewrite rule:  RewriteRule
> ^/([^/]+)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)$
> /index.cfm?jobname=$1&company=$2&jobloc=$3&city=$4&state=$5&ad_id=$6 [R,L]
>
> Here is what would be in the actual url:
> http://www.mydomain.com/jobname/company/location/city/state/jobid
>
> If I have the isapi filter enabled, nothing works...I just installed at as
> per the installer for this.
>
>
> This is the text of the actual config file...
>
> # IIS Mod-Rewrite configuration file
>
> # Prevent access to .htaccess files
> RewriteEngine On
> RewriteRule /\.htaccess$ - [F]
>
> #rewrite jobad url
> RewriteEngine On
> RewriteRule ^/([^/]+)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)$
> /index.cfm?jobname=$1&company=$2&jobloc=$3&city=$4&state=$5&ad_id=$6 [R,L]
>
> I was just following their example...like I said...total noob to setting
> this up...
>
> Eric
>
> -----Original Message-----
> From: Michael Dinowitz [mailto:mdino...@houseoffusion.com]
> Sent: Monday, March 01, 2010 11:54 AM
> To: cf-talk
> Subject: Re: Micronovae's mod rewrite module on IIS 6 and CF 6.1...
>
>
> Please post the redirect scripts your running. If you are capturing
> all of X, sending it to a CF page that processed it and then does
> another redirect, you might be tripping that first capture again.
> Proper writing of redirects takes time, dedication, and an engineering
> degree. :)
>
> --
> Michael Dinowitz
>
>
>
>
> On Mon, Mar 1, 2010 at 12:33 PM, Eric Roberts <w...@witchnet.org> wrote:
>>
>> I am trying to get Micronovae's mod rewrite ISAPI filter working on II6
> and
>> CF 6.1.  When I have the filter installed, it seems like the CF sites go
>> into a eternal redirect loop.even if they shouldn't be getting picked up
> by
>> the rewrite directive.  Has anyone had any experience with this that can
>> help me out.  I need to get a running example up as soon as I can. I have
>> never set this up before, so I am coming from a position of total
> ignorance
>> on this end ;-) Any help would be appreciated.
>>
>>
>>
>> Eric
>>
>>
>>
>>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331218
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to