I wanted to test Bludit on my local machine before uploading online, and since I don't want apache for simple tests, I decided to try Cherokee, a small and light server.
Unfortunally I'm stuck after installing Bludit: I've been able to install it, but if I go to the admin login page I just can't access the administration. After I enter my id/pw it just shows me again the login page.
Cherokee works a little differently than apache, I also tried with lighttpd but I wasn't able to translate the rewrite rules.
I added a static content rule for the /bludit/themes directory, and that was what allowed me to install Bludit successfully (or, at least, I think so). I was able to set a default redirect rule, which internally translates ^/(.*)$ to /bludit/index.php, but I might be missing something.
I'm asking for help on the Cherokee irc channel, but didn't found a solution yet. Is there another rule I should add, maybe?
Thanks.
EDIT:
This rule suggested by Tak-MK should do the trick!
Code: Select all
url.rewrite-once = (
".*\.(txt)$" => "/",
)
url.rewrite-if-not-file = (
".*\?(.*)" => "index.php?$1",
"." => "index.php"
)