Created
September 1, 2015 05:14
-
-
Save softwarespot/56812ed4db30ece5ba06 to your computer and use it in GitHub Desktop.
Apache .htaccess configuration
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 | |
# The base URL path | |
# If your URL is www.example.com/, then use / | |
# If your URL is www.example.com/site_folder/www, then use /site_folder/www/ | |
RewriteBase / | |
# Do not enable rewriting for files or directories that exist | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
# For requests that aren't actually files or directories, Rewrite to index.php/URL_PATH | |
RewriteRule ^(.*)$ index.php/$1 [PT,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment