In an effort to reduce the workload on PHP I'm trying to leverage Cherokee to serve a static version of my index page when that's all a user needs to see. I currently have my rules set up like this:
1 Directory /images => Static content => Final 2 Extensions php => FCGI => Final 3 Default redirection => internal - (.+) => /index.php?url=$1 I have my index.php file set up to check and see if there really is a url and if not it just servers the 'default' index page. This just seems like overkill to me and I know there has to be an easier and more effective way. I'd like for Cherokee to check and see if $1 is actually sending anything then send it to /index.php?url=$1 but if it's empty just serve default.html. Btw, its my personal url shortner, tinyz.me in case you where wondering what it was for. Any help would be greatly appreciated :] -Tyler Fryman
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
