On 13/01/2011, at 11:20, Ido Perlmuter wrote: > 1. default - FastCGI with a custom information source (a web application > running via FastCGI on a certain port) - final > 2. /css - Static content on a certain directory - final > 3. /js - Static content on a certain directory - final > 4. /images - Static content on a certain directory - final > > Now I'm trying to add rules 5 and 6: > 5. /apps - List & Send on a directory containing PHP scripts - final > 6. php - Extension php (created by the wizard) - not final > > For some reason, this doesn't work, and trying to access the '/apps' > directory (which means accessing /apps/index.php) or any php file in that > directory results in the file being sent statically (i.e. textually). I > should note that both php and php-cgi are properly installed and I have > performed several restarts (both to Cherokee and the server itself) to no > avail. I've also tried several other avenues and played a lot with rules 5 & > 6, either by changing handlers, changing order, playing with final/non-final, > everything I could possible imagine - I've tried. > > Anyone has any ideas why this happens?
Aside from the fact that the list is backwards, it looks fine to me. The best way to troubleshot it is to compile cherokee with --enable-trace, and to launch with the CHEROKEE_TRACE environment variable set to "all". FInd more info about it at: http://www.cherokee-project.com/doc/dev_debug.html . That will allow you to see which rules are matched by a certain request. -- Octality http://www.octality.com/
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
