Eoin Hennessy wrote: > With the following very basic config file; > > Port 80 > DocumentRoot /var/www/jaws/html/ > > Extension php { > Handler phpcgi > } > > Directory / { > Handler file > } > > Log combined { > AccessLog /var/log/cherokee.access > ErrorLog /var/log/cherokee.error > } > > I get the following error syslog'd after starting the server: > Error parsing configuration: 'syntax error', line 4, symbol 'Extension' > > Any ideas as to why this may be occuring? I'm using version 0.4.17.1
The problem is the version: 0.4.17 is really old. It didn't even support the "Extension" keyword. I would recommend you to update to 0.4.30 or better, to the last beta of 0.4.31 [1], it will be faster and more stable. By the way, the entries on the bottom of the file have higher priority, so you should move the Extension block after the "Directory /" one. With the configuration the you pasted, the Extension php will never be applied because all the entries will match with "Directory /", and it has a higher priority. [1] You can find them in http://www.alobbs.com/tmp/ -- Greetings, alo. http://www.alobbs.com _______________________________________________ Cherokee mailing list Cherokee@lists.alobbs.com http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee