are you sing Apache or IIS?
If Apache try
##### 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]
If IIS, what are you using for ISAPI Rewrite?
2009/10/27 johnmanoahs <[email protected]>
>
> Thanks Andrew.
>
> When I try pingFU it takes me to the homepage!
>
> If you visit http://www.xioni.in it will take you to the homepage ...
> if you try browsing through the site it just appends the object id
> instead of the FU. that's because I've deleted all the FUs. If I
> rebuild, all pages lead to home :)
>
> Btw, I've approved all pages and I've followed
> http://docs.farcrycms.org/display/FCDEV50/Friendly+URLs to setup the
> FUs.
>
> Thanks in Advance,
> John
>
> On Oct 27, 12:36 pm, AJ Mercer <[email protected]> wrote:
> > have the nav nodes and pages been approved?
> > friendly URLs are only for approved items.
> >
> > Have you seen this page?
> > http://docs.farcrycms.org/display/FCDEV50/Friendly+URLs
> >
> > What do you see when you go to
> > http://www.xioni.in/pingFU
> >
> > you should see
> > 'PING FU SUCCESS'
> > this what farcry uses to determine if it can use friendly URLs
> >
> > 2009/10/27 johnmanoahs <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > Joel ... I'm really sorry to bug you again ... but this thing wouldn't
> > > budge at all!!
> >
> > > When I rebuild the URLs it just defaults to the home page though the
> > > url showswww.xioni.in/servicesorwww.xioni.in/about-us.
> >
> > > I'm really upset ...
> >
> > > thanks for your help!
> > > John
> >
> > > On Oct 27, 10:57 am, Joel Cass <[email protected]> wrote:
> > > > Sounds like everything is configured; Try rebuilding all friendly
> urls
> > > > via admin - developer utilities - rebuild friendly urls
> >
> > > > On 27/10/2009, at 4:47 PM, johnmanoahs <[email protected]>
> wrote:
> >
> > > > > thanks Joel ... still no luck.
> >
> > > > > I tried cfdumping URL and it has FURL passed on correctly. If I
> remove
> > > > > the <cfset application.fc.factory.farfu.turnon() /> in the config
> > > > > folder the URL has object id. I really dont know why its not
> working.
> > > > > Another strange observation is that when I turn on the <cfset
> > > > > application.fc.factory.farfu.turnon() /> and then delete all the
> FUs
> > > > > in the admin, then the pages seem to work but the URL format is
> like
> > > > >http://www.xioni.in/E689D722-06DF-6D24-56726E44740068B5etc, the
> only
> > > > > comfort being I can navigate to the pages.
> >
> > > > > Also I'm still not clear about the Friendly URL config settings.
> This
> > > > > is my configuration as of now
> >
> > > > > Domains -www.xioni.in(I'mon a shared web hosting)
> > > > > URL Pattern - /go/
> > > > > Suffix - yes
> > > > > Suffix - yes
> > > > > Nav Alias's to Exclude -
> > > > > Object ID's to exclude -
> >
> > > > > Am I doing anything wrong?
> >
> > > > > thanks for your help!
> > > > > John
> >
> > > > > On Oct 27, 8:04 am, Joel Cass <[email protected]> wrote:
> > > > >> 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- Hide quoted text -
> >
> > > > >> - Show quoted text -- Hide quoted text -
> >
> > > > - Show quoted text -
> >
> > --
> > AJ Mercer
> > Web Log:http://webonix.net- Hide quoted text -
> >
> > - Show quoted text -
> >
>
--
AJ Mercer
Web Log: http://webonix.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---