Hmmm... I wonder if your old URL rewrites were doing something funky then?
I usually use this for Apache mod_rewrite:
RewriteEngine On
RewriteCond %{REQUEST_URI}
!(^/farcry|^/webtop|^/flex2gateway|^/flashservices|^/CFIDE)($|/)
RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\
\(\)\^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA]
and this for IIS Rewrite in IIS 7.x (using the import option):
RewriteCond %{REQUEST_URI}
!(^/farcry|^/webtop|^/flex2gateway|^/flashservices|^/cfide)($|/)
RewriteRule ^([^\.]+)$ /index.cfm?furl=/$1&%1 [L,PT,QSA]
The "QSA" means "query string append" which means any existing query string
variables should make it through to the rewritten URL.
cheers,
Justin
On Thu, Apr 19, 2012 at 2:05 PM, AJ Mercer <[email protected]> wrote:
> I was loosing everything on the URL scope besides
> URL.furl=/serach
>
> On 19 April 2012 12:02, Justin Carter <[email protected]> wrote:
>
>> I haven't used FarCry Solr Pro yet, but I don't think there is any
>> requirement to add additional rewrite rules is there? I haven't seen any in
>> the docs, and the URL that you're rewriting to is basically what the
>> standard URL rewrite will do (furl is dynamic though, whereas your is
>> hard-coded to /search).
>>
>> cheers,
>> Justin
>>
>>
>> On Thursday, April 19, 2012 1:46:31 PM UTC+10, AJ Mercer wrote:
>>>
>>> For anyone else (or future self) using farcrySolrPro plugin
>>> and have friendly URLs set up
>>> I have added the following rewrite rule to my set up
>>>
>>>
>>> # /search?q=ajm&operator=any&**lContentTypes=&orderby=rank
>>>
>>> RewriteCond %{REQUEST_URI} ^/search
>>> RewriteCond %{QUERY_STRING} ^q\=(.*)$
>>> RewriteRule ^/search(.*)$ /index.cfm?q=%1&furl=/search [L]
>>>
>>> If anyone has suggestions to improve I would be grateful on seeing them.
>>> This is working for me and my head hurts now, so I am going to leave it
>>> alone for now :-S
>>>
>>>
>>> --
>>>
>>> *AJ Mercer*
>>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
>>> community="Open" /> <http://webonix.org>
>>> http://twitter.com/webonix
>>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>>>
>>> --
>> You received this message cos you are subscribed to "farcry-dev" Google
>> group.
>> To post, email: [email protected]
>> To unsubscribe, email: [email protected]
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>
>
>
>
> --
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
> community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry