Friendly URLs not working

View: New views
14 Messages — Rating Filter:   Alert me  

Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi - I'm struggling for the past few days to get my FUs working.

My configs are as follows:
ColdFusion - 8
FarCry - 5.1.6
MS SQL 2005
ISAPI - Rewrite

<VirtualHost domain.com www.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>

 I followed http://docs.farcrycms.org/display/FCDEV50/Friendly+URLs
... /pingFU takes me to the homepage... any other link takes me to the
home page, simply FUs do not work properly.

If I remove the <cfset application.fc.factory.farfu.turnon() /> from
the _serverSpecificVarsAfterInit.cfm file, the FUs don't work at all.

I'm confused at the Webtop bit. Could someone please clarify?
1. I go to Admin > Edit Config > and check the Friendly URLs checkbox
2. I go to Admin > Friendly URL config > and leave it default?

I have set up a blog on my website and even that wouldn't work and
defaults to the homepage. http://www.xioni.in/blog does not work
whereas http://www.xioni.in/blog/index.cfm works whether FUs are
enabled or not.

Could any of you please help me?

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


Re: Friendly URLs not working

by James Buckingham-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> <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: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 <clarke...@...> 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: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by joel.cass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <john.manoah@...> 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 <clarke...@...> 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: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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-56726E44740068B5 etc, 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'm on 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 <joel.a.c...@...> 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 <john.man...@...> 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 <clarke...@...> 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 -
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by joel.cass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 <john.manoah@...> 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-56726E44740068B5 etc, 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'm on 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 <joel.a.c...@...> 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  
>> <john.man...@...> 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 <clarke...@...> 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 -
> >

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


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 shows www.xioni.in/services or www.xioni.in/about-us.

I'm really upset ...

thanks for your help!
John

On Oct 27, 10:57 am, Joel Cass <joel.a.c...@...> 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 <john.man...@...> 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'm on 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 <joel.a.c...@...> 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  
> >> <john.man...@...> 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 <clarke...@...> 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 -
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <john.manoah@...>

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 shows www.xioni.in/services or www.xioni.in/about-us.

I'm really upset ...

thanks for your help!
John

On Oct 27, 10:57 am, Joel Cass <joel.a.c...@...> 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 <john.man...@...> 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'm on 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 <joel.a.c...@...> 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  
> >> <john.man...@...> 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 <clarke...@...> 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

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


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 <ajmer...@...> 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 <john.man...@...>
>
>
>
>
>
>
>
> > 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 <joel.a.c...@...> 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 <john.man...@...> 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 <joel.a.c...@...> 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
> > > >> <john.man...@...> 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 <clarke...@...> 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 -
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <john.manoah@...>

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 <ajmer...@...> 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 <john.man...@...>
>
>
>
>
>
>
>
> > 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 <joel.a.c...@...> 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 <john.man...@...> 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 <joel.a.c...@...> 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
> > > >> <john.man...@...> 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 <clarke...@...> 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: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Its IIS .. i'm using the rule provided by Joel a few posts above.
Here's it for your ref:

# 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

thanks!



On Oct 27, 1:55 pm, AJ Mercer <ajmer...@...> wrote:

> 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 <john.man...@...>
>
>
>
>
>
>
>
> > Thanks Andrew.
>
> > When I try pingFU it takes me to the homepage!
>
> > If you visithttp://www.xioni.init 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+URLsto setup the
> > FUs.
>
> > Thanks in Advance,
> > John
>
> > On Oct 27, 12:36 pm, AJ Mercer <ajmer...@...> 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 <john.man...@...>
>
> > > > 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 <joel.a.c...@...> 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 <john.man...@...>
> > 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'mona 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 <joel.a.c...@...> 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
> > > > > >> <john.man...@...> 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 <clarke...@...>
> > 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by AJ Mercer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

for IIS you will need to install something to be able to do rewrites.

Have you installed one of these?

Option B




2009/10/27 johnmanoahs <john.manoah@...>

Its IIS .. i'm using the rule provided by Joel a few posts above.
Here's it for your ref:

# 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

thanks!



On Oct 27, 1:55 pm, AJ Mercer <ajmer...@...> wrote:
> 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 <john.man...@...>
>
>
>
>
>
>
>
> > Thanks Andrew.
>
> > When I try pingFU it takes me to the homepage!
>
> > If you visithttp://www.xioni.init 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+URLsto setup the
> > FUs.
>
> > Thanks in Advance,
> > John
>
> > On Oct 27, 12:36 pm, AJ Mercer <ajmer...@...> 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 <john.man...@...>
>
> > > > 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 <joel.a.c...@...> 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 <john.man...@...>
> > 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'mona 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 <joel.a.c...@...> 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
> > > > > >> <john.man...@...> 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 <clarke...@...>
> > 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- 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: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Sure Andrew. This is a shared hosting server (http://
www.hostingatoz.com) and many have already configured and using FarCry
up there.

I wouldn't doubt the confugurations on the IIS because when I delete
all the FUs and updateapp, the URL works, not the FU words but the
respective objectids.

For e.g. Services page's URL is http://www.xioni.in/2EEDEB40-BE32-11DE-8562001CC072214F
whereas without the FU configurations it can be accessed from
http://www.xioni.in/index.cfm?objectid=2EEDEB40-BE32-11DE-8562001CC072214F.

I'm really confused what to do ... my problem is, it works but not
properly!

thanks
John

On Oct 27, 3:17 pm, AJ Mercer <ajmer...@...> wrote:

> for IIS you will need to install something to be able to do rewrites.
>
> Have you installed one of these?
>
> Option B
>
>    - *For IIS:* ISAPI_Rewrite 3 (or
> better)<http://www.helicontech.com/isapi_rewrite/>(not free, but
> suggested for IIS) - This is a mod_rewrite compatible module
>    for IIS
>    - *For IIS:* Helicon APE (or better)
> <http://www.helicontech.com/ape/>(not free, but recommended for IIS) -
> This is a mod_rewrite compatible
>    module for IIS
>    - *For IIS:* Microsoft URL Rewrite Module 1.1 for IIS
> 7<http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691>free
> but only available for the latest versions of IIS
>    -
>
> 2009/10/27 johnmanoahs <john.man...@...>
>
>
>
>
>
>
>
> > Its IIS .. i'm using the rule provided by Joel a few posts above.
> > Here's it for your ref:
>
> > # 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
>
> > thanks!
>
> > On Oct 27, 1:55 pm, AJ Mercer <ajmer...@...> wrote:
> > > 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 <john.man...@...>
>
> > > > Thanks Andrew.
>
> > > > When I try pingFU it takes me to the homepage!
>
> > > > If you visithttp://www.xioni.initwill 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+URLstosetup the
> > > > FUs.
>
> > > > Thanks in Advance,
> > > > John
>
> > > > On Oct 27, 12:36 pm, AJ Mercer <ajmer...@...> 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 <john.man...@...>
>
> > > > > > 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 <joel.a.c...@...> 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 <john.man...@...>
> > > > 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'monashared 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 <joel.a.c...@...> 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
> > > > > > > >> <john.man...@...> 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 <clarke...@...>
> > > > 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-Hidequoted text -
>
> > > > > - Show quoted text -
>
> > > --
> > > AJ Mercer
> > > Web Log:http://webonix.net-Hide quoted text -
>
> > > - Show quoted text -
>
> --
> AJ Mercer
> Web Log:http://webonix.net- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Friendly URLs not working

by johnmanoahs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi - I just had my hosting provider confirm the following.

ISAPI_Rewrite v.3.x and suggested this rule

RewriteEngine on
RewriteRule ^(.*?\.asp)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA]

STILL NO LUCK!!

Should I do something more other than updateapp whenever I change the
Rewrite rules in the httpd.ini file?

I would be the most happiest person in the world if I could get FUs
running on xioni.in.

thanks
John

On Oct 27, 3:17 pm, AJ Mercer <ajmer...@...> wrote:

> for IIS you will need to install something to be able to do rewrites.
>
> Have you installed one of these?
>
> Option B
>
>    - *For IIS:* ISAPI_Rewrite 3 (or
> better)<http://www.helicontech.com/isapi_rewrite/>(not free, but
> suggested for IIS) - This is a mod_rewrite compatible module
>    for IIS
>    - *For IIS:* Helicon APE (or better)
> <http://www.helicontech.com/ape/>(not free, but recommended for IIS) -
> This is a mod_rewrite compatible
>    module for IIS
>    - *For IIS:* Microsoft URL Rewrite Module 1.1 for IIS
> 7<http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1691>free
> but only available for the latest versions of IIS
>    -
>
> 2009/10/27 johnmanoahs <john.man...@...>
>
>
>
>
>
>
>
> > Its IIS .. i'm using the rule provided by Joel a few posts above.
> > Here's it for your ref:
>
> > # 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
>
> > thanks!
>
> > On Oct 27, 1:55 pm, AJ Mercer <ajmer...@...> wrote:
> > > 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 <john.man...@...>
>
> > > > Thanks Andrew.
>
> > > > When I try pingFU it takes me to the homepage!
>
> > > > If you visithttp://www.xioni.initwill 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+URLstosetup the
> > > > FUs.
>
> > > > Thanks in Advance,
> > > > John
>
> > > > On Oct 27, 12:36 pm, AJ Mercer <ajmer...@...> 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 <john.man...@...>
>
> > > > > > 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 <joel.a.c...@...> 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 <john.man...@...>
> > > > 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'monashared 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 <joel.a.c...@...> 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
> > > > > > > >> <john.man...@...> 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 <clarke...@...>
> > > > 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-Hidequoted text -
>
> > > > > - Show quoted text -
>
> > > --
> > > AJ Mercer
> > > Web Log:http://webonix.net-Hide quoted text -
>
> > > - Show quoted text -
>
> --
> AJ Mercer
> Web Log:http://webonix.net- Hide quoted text -
>
> - Show quoted text -

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