-
-
Save fmtarif/6726885 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
AddType text/cache-manifest manifest | |
RewriteEngine On | |
# Put your installation directory here: | |
# If your URL is www.example.com/, use / | |
# If your URL is www.example.com/site_folder/, use /site_folder/ | |
RewriteBase / | |
# Do not enable rewriting for files or directories that exist | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# For reuests that are not actual files or directories, | |
# Rewrite to index.php/URL | |
RewriteRule ^(.*)$ index.php/$1 [PT,L] | |
# Restrict directory listing | |
Options -Indexes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment