Skip to content

Instantly share code, notes, and snippets.

@kolyadin
Created July 24, 2014 09:22
Show Gist options
  • Save kolyadin/7f7e0ba180e0ce0f3bc6 to your computer and use it in GitHub Desktop.
Save kolyadin/7f7e0ba180e0ce0f3bc6 to your computer and use it in GitHub Desktop.
AddDefaultCharset utf-8
SetEnv ENV_MODE development
DirectoryIndex index.php
php_value upload_max_filesize 10M
php_value post_max_filesize 10M
php_value date.timezone "Europe/Moscow"
RewriteEngine On
# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment