|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
trouble with FUsI am having problem with Friendly URLs in FC5.1. While adding some urlParameters to <skin:buildlink> tag like: <skin:buildLink objectID="#stobj.objectid#" class="content" urlParameters="pagewanted=all" >Single Page</skin:buildLink> i am getting urls formatted like this: http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-merchant-was-no-ordinary-vessel-?PAGEWANTED=all and it crashes. Am i doing something wrong? Thanks, Mika --~--~---------~--~----~------------~-------~--~----~ 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: trouble with FUsTried to rebuild? And what code do you use or rewrite, is it all ok in there? Did it worked before and what has changed? On Jun 23, 2:35 pm, smika <shahin...@...> wrote: > I am having problem with Friendly URLs in FC5.1. While adding some > urlParameters to <skin:buildlink> tag like: > <skin:buildLink objectID="#stobj.objectid#" class="content" > urlParameters="pagewanted=all" >Single Page</skin:buildLink> > > i am getting urls formatted like this:http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-... > > and it crashes. > > Am i doing something wrong? > > Thanks, > > Mika 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: trouble with FUsThis is what we have in IsapiRewrite : RewriteCond %{HTTP_URL} (.*)(\?)(.*) RewriteRule ^(.*)$ /index.cfm?furl=$1&%1 [L,PT,QSA] RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\(\)\^_`~] *)$ /index.cfm?furl=$1 Do we need to add anything? Thanks, Mika On Jun 23, 6:10 pm, Marco van den Oever <marcovandenoe...@...> wrote: > Tried to rebuild? And what code do you use or rewrite, is it all ok in > there? > Did it worked before and what has changed? > > On Jun 23, 2:35 pm, smika <shahin...@...> wrote: > > > I am having problem with Friendly URLs in FC5.1. While adding some > > urlParameters to <skin:buildlink> tag like: > > <skin:buildLink objectID="#stobj.objectid#" class="content" > > urlParameters="pagewanted=all" >Single Page</skin:buildLink> > > > i am getting urls formatted like this:http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-... > > > and it crashes. > > > Am i doing something wrong? > > > Thanks, > > > Mika 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: trouble with FUshmmm, I don't know why you have two different rewriterules... maybe back to the other problems you had. I would think that the second one might be causing the problems, where you would need an [L,PT,QSA] afterwards as well.
Tomek On Tue, Jun 23, 2009 at 1:16 PM, smika <shahinyan@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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: trouble with FUsI've really have hard time with FU's. Actually second rewrite solves the problem with paging of articles. What do you think it may look like? Something like this: RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\? \,\*\!\@\#\$\(\)\^_`~] *)$ /index.cfm?furl=$1[L,PT,QSA] ? Thanks, Mika On Jun 23, 10:41 pm, Tomek Kott <tkott.s...@...> wrote: > hmmm, I don't know why you have two different rewriterules... maybe back to > the other problems you had. I would think that the second one might be > causing the problems, where you would need an [L,PT,QSA] afterwards as well. > > Tomek > > On Tue, Jun 23, 2009 at 1:16 PM, smika <shahin...@...> wrote: > > > This is what we have in IsapiRewrite : > > RewriteCond %{HTTP_URL} (.*)(\?)(.*) > > RewriteRule ^(.*)$ /index.cfm?furl=$1&%1 [L,PT,QSA] > > RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\(\)\^_`~] > > *)$ /index.cfm?furl=$1 > > > Do we need to add anything? > > > Thanks, > > > Mika > > > On Jun 23, 6:10 pm, Marco van den Oever <marcovandenoe...@...> > > wrote: > > > Tried to rebuild? And what code do you use or rewrite, is it all ok in > > > there? > > > Did it worked before and what has changed? > > > > On Jun 23, 2:35 pm, smika <shahin...@...> wrote: > > > > > I am having problem with Friendly URLs in FC5.1. While adding some > > > > urlParameters to <skin:buildlink> tag like: > > > > <skin:buildLink objectID="#stobj.objectid#" class="content" > > > > urlParameters="pagewanted=all" >Single Page</skin:buildLink> > > > > > i am getting urls formatted like this: > >http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-... > > > > > and it crashes. > > > > > Am i doing something wrong? > > > > > Thanks, > > > > > Mika 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: trouble with FUsYes, that's exactly what I'm thinking. Have you tried running everything without the first rewriterule? If the second one work syntactically with your (Ionic?) filter, then I would recommend using that. That is the default for apache, so you shouldn't need anything else. I think the key parameter is [QSA] since that stands for Query String Append, so translates everything from ? into & (essentially) Tomek On 6/23/2009 2:04 PM, smika wrote:
--~--~---------~--~----~------------~-------~--~----~ 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: trouble with FUsI'm using isapi rewrite / railo with: # Helicon ISAPI_Rewrite configuration file # Version 3.1.0.63 <VirtualHost *:80> ##### APACHE MOD_REWRITE SYNTAX RewriteEngine On RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gateway|^/ flashservices|^/railo-context)($|/) RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\) \^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA] </VirtualHost> On Jun 23, 8:31 pm, Tomek Kott <tkott.s...@...> wrote: > Mika, > > Yes, that's exactly what I'm thinking. Have you tried running everything > without the first rewriterule? If the second one work syntactically with > your (Ionic?) filter, then I would recommend using that. That is the > default for apache, so you shouldn't need anything else. > > I think the key parameter is [QSA] since that stands for Query String > Append, so translates everything from ? into & (essentially) > > Tomek > > On 6/23/2009 2:04 PM, smika wrote: > > > I've really have hard time with FU's. Actually second rewrite solves > > the problem with paging of articles. > > What do you think it may look like? > > Something like this: RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\? > > \,\*\!\@\#\$\(\)\^_`~] *)$ /index.cfm?furl=$1[L,PT,QSA] ? > > Thanks, > > > Mika > > > On Jun 23, 10:41 pm, Tomek Kott<tkott.s...@...> wrote: > > >> hmmm, I don't know why you have two different rewriterules... maybe back to > >> the other problems you had. I would think that the second one might be > >> causing the problems, where you would need an [L,PT,QSA] afterwards as well. > > >> Tomek > > >> On Tue, Jun 23, 2009 at 1:16 PM, smika<shahin...@...> wrote: > > >>> This is what we have in IsapiRewrite : > >>> RewriteCond %{HTTP_URL} (.*)(\?)(.*) > >>> RewriteRule ^(.*)$ /index.cfm?furl=$1&%1 [L,PT,QSA] > >>> RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\(\)\^_`~] > >>> *)$ /index.cfm?furl=$1 > > >>> Do we need to add anything? > > >>> Thanks, > > >>> Mika > > >>> On Jun 23, 6:10 pm, Marco van den Oever<marcovandenoe...@...> > >>> wrote: > > >>>> Tried to rebuild? And what code do you use or rewrite, is it all ok in > >>>> there? > >>>> Did it worked before and what has changed? > > >>>> On Jun 23, 2:35 pm, smika<shahin...@...> wrote: > > >>>>> I am having problem with Friendly URLs in FC5.1. While adding some > >>>>> urlParameters to<skin:buildlink> tag like: > >>>>> <skin:buildLink objectID="#stobj.objectid#" class="content" > >>>>> urlParameters="pagewanted=all">Single Page</skin:buildLink> > > >>>>> i am getting urls formatted like this: > > >>>http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-... > > >>>>> and it crashes. > > >>>>> Am i doing something wrong? > > >>>>> Thanks, > > >>>>> Mika > > 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: trouble with FUsIn our case unfortunately we are using ISAPI one. When we try to change our rewrite rule to RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\) \^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA] it breaks. Do i need to rebuild FUs after changing rewite rule? Thanks, Mika On Jun 23, 11:50 pm, Marco van den Oever <marcovandenoe...@...> wrote: > I'm using isapi rewrite / railo with: > > # Helicon ISAPI_Rewrite configuration file > # Version 3.1.0.63 > > <VirtualHost *:80> > ##### APACHE MOD_REWRITE SYNTAX > RewriteEngine On > RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gateway|^/ > flashservices|^/railo-context)($|/) > RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\) > \^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA] > </VirtualHost> > > On Jun 23, 8:31 pm, Tomek Kott <tkott.s...@...> wrote: > > > Mika, > > > Yes, that's exactly what I'm thinking. Have you tried running everything > > without the first rewriterule? If the second one work syntactically with > > your (Ionic?) filter, then I would recommend using that. That is the > > default for apache, so you shouldn't need anything else. > > > I think the key parameter is [QSA] since that stands for Query String > > Append, so translates everything from ? into & (essentially) > > > Tomek > > > On 6/23/2009 2:04 PM, smika wrote: > > > > I've really have hard time with FU's. Actually second rewrite solves > > > the problem with paging of articles. > > > What do you think it may look like? > > > Something like this: RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\? > > > \,\*\!\@\#\$\(\)\^_`~] *)$ /index.cfm?furl=$1[L,PT,QSA] ? > > > Thanks, > > > > Mika > > > > On Jun 23, 10:41 pm, Tomek Kott<tkott.s...@...> wrote: > > > >> hmmm, I don't know why you have two different rewriterules... maybe back to > > >> the other problems you had. I would think that the second one might be > > >> causing the problems, where you would need an [L,PT,QSA] afterwards as well. > > > >> Tomek > > > >> On Tue, Jun 23, 2009 at 1:16 PM, smika<shahin...@...> wrote: > > > >>> This is what we have in IsapiRewrite : > > >>> RewriteCond %{HTTP_URL} (.*)(\?)(.*) > > >>> RewriteRule ^(.*)$ /index.cfm?furl=$1&%1 [L,PT,QSA] > > >>> RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\(\)\^_`~] > > >>> *)$ /index.cfm?furl=$1 > > > >>> Do we need to add anything? > > > >>> Thanks, > > > >>> Mika > > > >>> On Jun 23, 6:10 pm, Marco van den Oever<marcovandenoe...@...> > > >>> wrote: > > > >>>> Tried to rebuild? And what code do you use or rewrite, is it all ok in > > >>>> there? > > >>>> Did it worked before and what has changed? > > > >>>> On Jun 23, 2:35 pm, smika<shahin...@...> wrote: > > > >>>>> I am having problem with Friendly URLs in FC5.1. While adding some > > >>>>> urlParameters to<skin:buildlink> tag like: > > >>>>> <skin:buildLink objectID="#stobj.objectid#" class="content" > > >>>>> urlParameters="pagewanted=all">Single Page</skin:buildLink> > > > >>>>> i am getting urls formatted like this: > > > >>>http://www.reporter.am/go/article/2009-06-18-sebouh-aslanian--quedah-... > > > >>>>> and it crashes. > > > >>>>> Am i doing something wrong? > > > >>>>> Thanks, > > > >>>>> Mika 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: trouble with FUsThe IONIC rewrite filter is just plain not working with FarCry 5.x for rewriting. I tried for about a week, and this is the result I blogged about http://www.geodesicgrafx.com/blog/index.cfm/2009/2/19/FarCry-51-and-the-Ionic-ISAPI-rewrite-filter-for-friendly-URLs. However, in the end, it still did not work for every type of rewrite scenario. I tried various versions of IONIC, but it was still simpler in the end to use the free version of ISAPI_rewrite. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog --~--~---------~--~----~------------~-------~--~----~ 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: trouble with FUsif that all fails, then as a work around, you might just try changing your url creation parameters to be 'manually' created, so something like:
<a href="#application.fapi.getLink(stObj.objectid)#&pagewanted=all">...</a> This might work, but no guarantees. Also, you don't need to rebuild FU's again just for changing the rewrite rules! Tomek On Wed, Jun 24, 2009 at 8:09 AM, Matthew Williams <webmaster@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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: trouble with FUsThanks Tomek! Seems there is something new about it: The method getLink was not found in component E:\webs\reporter.am \wwwroot\test\farcry\core\packages\farcry\fapi.cfc. I'll try to check latest core, although we are running 5.1. Do i need to update core? Mika On Jun 24, 6:26 pm, Tomek Kott <tkott.s...@...> wrote: > if that all fails, then as a work around, you might just try changing your > url creation parameters to be 'manually' created, so something like: > > <a href="#application.fapi.getLink(stObj.objectid)#&pagewanted=all">...</a> > > This might work, but no guarantees. > > Also, you don't need to rebuild FU's again just for changing the rewrite > rules! > > Tomek > > On Wed, Jun 24, 2009 at 8:09 AM, Matthew Williams < > > webmas...@...> wrote: > > > The IONIC rewrite filter is just plain not working with FarCry 5.x for > > rewriting. I tried for about a week, and this is the result I blogged > > about > > >http://www.geodesicgrafx.com/blog/index.cfm/2009/2/19/FarCry-51-and-t... > > . > > However, in the end, it still did not work for every type of rewrite > > scenario. I tried various versions of IONIC, but it was still simpler > > in the end to use the free version of ISAPI_rewrite. > > > Matthew Williams > > Geodesic GraFX > >www.geodesicgrafx.com/blog 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: trouble with FUshmm, I think a newer (5.1.5?) version of FC runs fapi from farcry/core/packages/lib/fapi.cfc, that one for sure has getLink. I always just check Jeff Coughlin's downloads (http://www.jeffcoughlin.com/?pg=11) page for updates. With a minor change (5.1.1 -> 5.1.5) you shouldn't need to do any more than update app to get things running right.
Tomek On Wed, Jun 24, 2009 at 11:09 AM, smika <shahinyan@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |