« Return to Thread: trouble with FUs

Re: trouble with FUs

by Marco van den Oever :: Rate this Message:

Reply to Author | View in Thread


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
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: trouble with FUs