Created
October 31, 2013 19:44
-
-
Save ryaan-anthony/7255644 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
| Options All -Indexes | |
| <IfModule mod_php5.c> | |
| php_flag engine 0 | |
| </IfModule> | |
| AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi | |
| Options -ExecCGI | |
| <IfModule mod_rewrite.c> | |
| ############################################ | |
| ## enable rewrites | |
| Options +FollowSymLinks | |
| RewriteEngine on | |
| ############################################ | |
| ## never rewrite for existing files | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| ############################################ | |
| ## rewrite everything else to index.php | |
| RewriteRule .* ../get.php [L] | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment