#php_value output_buffering On #php_value output_buffering Off ## Enable Rewrite Engine RewriteEngine on ## Rewrite conditions RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ## Ignore images, html and css to index.php request RewriteCond %{REQUEST_URI} (/[^.]*|\.)$ [NC] ## Send all requests that are not existing files or directories to index.php RewriteRule ^(.*)$ index.php/$1 [L] RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}