Tony Posted December 28, 2008 Report Share Posted December 28, 2008 This a topic dedicated to potential issues you could experience due to the migration over to LiteSpeed. appardona, gictwingity, Gavybeerwarse and 8 others 11 Link to comment Share on other sites More sharing options...
Tony Posted December 28, 2008 Author Report Share 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. Link to comment Share on other sites More sharing options...
Tony Posted January 1, 2009 Author Report Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts