Created
May 21, 2018 22:25
-
-
Save cengkuru/5ea88ae892c2bef7709f28eb0ad9c7f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|js|png|swf|txt)$ | |
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt|favicon\.ico) | |
RewriteRule ^(.*)$ /index.php/$1 [L] | |
<Files "index.php"> | |
AcceptPathInfo On | |
</Files> | |
<IfModule mod_php5.c> | |
php_value memory_limit 64M | |
</IfModule> | |
# php -- BEGIN cPanel-generated handler, do not edit | |
# Set the “ea-php56” package as the default “PHP” programming language. | |
<IfModule mime_module> | |
AddType application/x-httpd-ea-php56 .php .php5 .phtml | |
</IfModule> | |
# php -- END cPanel-generated handler, do not edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment