Question

I just set up a cherokee server to test out and so far I am loving the performance and ease to set up. There is one issue though, codeigniter seems to not work too well.

I always get "Access Denied"

How do you set up codeigniter with cherokee server?

Thanks!

Was it helpful?

Solution

To others who will read this.

Cherokee follows the behaviours in a specific way (Top to Bottom)

Here is what you must do in this order

create rule Directory /media and change the handler to List & Send (this is where you will want to place your css, images, js and such, and make this non-final

change default to Redirection, change the handler to type: internal, RegEx : ^(.*)$, Substitution : /index.php/$1

Create new rule with wizard->languages->php, ensure it's handler is FastCGI, balancer is Round Robin and the php interpreter is 127.0.0.1:47990, make this on final


Drag the extensions php to the first in the list, directory /media second and default last.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top