Converting htaccess to Cherokee

Hello folks,

I'm attempting to run XenForo with Cherokee and got the URL rewriting about 90% complete. Problem is, I'm unable to logout. No errors, it just won't log me out. I know it's the rewriting since when I disable it, everything works fine.

My Cherokee Config

Paths data/ js/ styles/ install/ favicion\.ico
Handle as Static

Extensions PHP

File Exists
List & Send

Default
Internal - /?(.*) TO /index.php?/$1

Any help would be greatly appreciated.
 
I am limited in my access. But it appears that no query strings are getting through, such as _xfToken in the logout link:

http://bioshub.com/logout/?_xfToken=3,1316550326,c6b044d53e60270643bc7c9f1587e6c2c91ece91

...or the search type when you try to Search Threads and Posts:

http://bioshub.com/search/?type=post

So apparently your rewrite rules are omitting the query string. I have never used Cherokee before. I am looking for documentation right now. I will report back...
I'll poke around myself. Because if it's query strings, I think it'll be reasonably easy to figure out.
 
I figured it out.

My problem was this. My default handler needed to have a redirect for 'extra' query strings, not just one. So it's now two internal redirect rules.

^/(.*)\?(.*)$ TO /index.php?q=$1&$2
^/(.*)$ TO /index.php?q=$1
 
Top Bottom