Skip to content

Instantly share code, notes, and snippets.

@jeroenwtf
Created December 30, 2013 16:48
Show Gist options
  • Save jeroenwtf/8184579 to your computer and use it in GitHub Desktop.
Save jeroenwtf/8184579 to your computer and use it in GitHub Desktop.
.htaccess for CodeIgniter with some php flags.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment