I'm having trouble adding PHP support to a virtual server under certain conditions.
When configuration is simple, such that the default rule is a List & Send on the document root and an Extension rule for php files is created with the PHP wizard, then everything's okay. But I'm trying to add PHP to this base configuration (rules written in ascending order instead of descending as in cherokee-admin): 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? Thanks, Ido Perlmuter.
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
