2020-05-27 09:27:17 +00:00
|
|
|
# If you want to hide 'index.php' from the URL, rename this file to '.htaccess' on your server
|
|
|
|
# Then change the following variable in /application/config/config.php
|
|
|
|
# $config['index_page'] = '';
|
|
|
|
|
|
|
|
RewriteEngine On
|
2023-03-17 10:12:22 +00:00
|
|
|
|
|
|
|
RewriteCond %{REQUEST_URI} ^/backup/$
|
2023-06-18 21:13:46 +00:00
|
|
|
RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
|
2023-03-17 10:12:22 +00:00
|
|
|
|
2020-05-27 09:27:17 +00:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2023-06-18 21:13:46 +00:00
|
|
|
RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
|
2023-06-30 05:01:03 +00:00
|
|
|
|
|
|
|
RedirectMatch 404 ^/\.git
|