Tony Posted December 28, 2008 Report Posted December 28, 2008 This a topic dedicated to potential issues you could experience due to the migration over to LiteSpeed. woodhzfp, vodsaccourorp, appardona and 8 others 11
Tony Posted December 28, 2008 Author Report Posted December 28, 2008 You may no longer override php values using a php.ini. You must use a .htaccess file with php_value varname newvalue . For example: php_value register_globals on Would turn on register globals.
Tony Posted January 1, 2009 Author Report Posted January 1, 2009 If you're forcing .html files to be parsed with .php the best method is to use AddType application/x-httpd-php5 .html [/CODE] This is a very silly way to produce .html to be shown to the users address bar. The best way to accomplish this and support any php configuration and any web server using mod_rewrite would be to rewrite .html -> php script. So for example something like this would work much better: In your .htaccess file you have: [CODE] Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^([^.]+).html$ $1.php [L] I am pretty sure that'll work and any .html will go to the .php equivalent. Now longer any headaches of handlers or anything of that nature.
Recommended Posts