Htaccess is a apache specific file. For cherokee you need to change
the php handler (via cherokee-admin) and set .html files to be handled
by the php handler also. This will solve your problem.

Frank



2009/6/8 Lane Lester <[email protected]>:
> I'm glad to have Cherokee running, and now I need to try to figure out why PHP is
> not working for my new website.
> I determined that PHP works for files that end in .php. But my website files end in .html and I have in /var/www/glaucoma (glaucoma is where the website files are) an .htaccess file with this in it
> which is supposed to make HTML files execute PHP:
> RemoveHandler .html
> AddType application/x-httpd-php5 .html
> At the remote server I have php4 in the line above, but neither 4 nor 5 do the job in Cherokee on the local server.
> Lane
>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to