Last active
January 26, 2016 16:44
-
-
Save keithics/5265434 to your computer and use it in GitHub Desktop.
Laravel and Shared hosting - Hostgator and without virtual host
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
AddHandler application/x-httpd-php53 .php | |
<IfModule mod_suphp.c> | |
suPHP_ConfigPath /public_html/DOMAIN.COM/public | |
<Files php.ini> | |
order allow,deny | |
deny from all | |
</Files> | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php/$1 [L] | |
</IfModule> | |
#in /public_html/DOMAIN.COM/public/php.ini , turn off register_globals | |
#register_globals = Off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment