The first set of rules you supplied doesn't work in ISAPI_rewrite due to
it's inferior implementation of rewrite conditions.You'll need to use the
second set you supplied.

Try placing a cfdump of the URL scope in the index.cfm > check that the
parameter 'furl' is being passed correctly. If so, then it's an issue with
farcry. Otherwise, check your rewrite installation / config.

Here is my known working configuration (ISAPI rewrite 2):

httpd.ini
-----------------------------------------------------------------
[ISAPI_Rewrite]

# Farcry Rule A: Pages with no query string
RewriteCond URL ^(?!/farcry).*
RewriteCond URL ^(?!/webtop).*
RewriteCond URL ^(?!/flex2gateway).*
RewriteCond URL ^(?!/flashservices).*
RewriteCond URL ^(?!/CFIDE).*
RewriteRule ^([^\?\.]+)$ /index.cfm?furl=$1

# Farcry Rule B: Pages with query string
RewriteCond URL ^(?!/farcry).*
RewriteCond URL ^(?!/webtop).*
RewriteCond URL ^(?!/flex2gateway).*
RewriteCond URL ^(?!/flashservices).*
RewriteCond URL ^(?!/CFIDE).*
RewriteRule ^([^\?\.]+)\?(.*)$ /index.cfm?furl=$1&$2
-----------------------------------------------------------------

Farcry Config
- Plugins > Friendly URLs = ticked
- Friendly URLs > "domains" = server name (e.g. joelpc)
- Friendly URLs > second "suffix" field (prog error, should be called "SES
URLs") = "yes"


On Mon, Oct 26, 2009 at 10:35 PM, johnmanoahs <[email protected]> wrote:

>
> Its setup correctly on the live site ... thanks James!
>
> I also tried the following rule
>
> # Farcry Rules
> RewriteCond URL ^(?!/farcry).*
> RewriteCond URL ^(?!/farcryinst).*
> RewriteCond URL ^(?!/webtop).*
> RewriteCond URL ^(?!/flex2gateway).*
> RewriteCond URL ^(?!/flashservices).*
> RewriteCond URL ^(?!/CFIDE).*
> RewriteRule ^([^\.]+)$ /index.cfm?furl=$1&%1  [L,PT,QSA]
>
> and still no luck!
>
> Any help is highly appreciated.
>
> http://www.xioni.in
>
> TIA
> John
>
> On Oct 26, 4:12 pm, James Buckingham <[email protected]> wrote:
> > > <VirtualHost domain.comwww.domain.com>
> > >   ##### APACHE MOD_REWRITE SYNTAX
> > >   RewriteEngine On
> > >   RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gateway|^/
> > > flashservices|^/CFIDE)($|/)
> > >   RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*...@\#\$\ \(\)
> > > \^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA]
> > > </VirtualHost>
> >
> > You need to put your domain name(s) into the Virtual Host tag here:
> >
> > > <VirtualHost domain.comwww.domain.com>
> >
> > The ones shown above are there as an example.
> >
> > Cheers,
> > James
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to