wavelog/htaccess.sample

18 lines
499 B
Text
Raw Normal View History

2020-05-27 11:27:17 +02: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'] = '';
Options -Indexes
ServerSignature off
2020-05-27 11:27:17 +02:00
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/backup/$
2023-06-18 23:13:46 +02:00
RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
2020-05-27 11:27:17 +02:00
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2023-06-18 23:13:46 +02:00
RewriteRule ^(.*)$ /index.php?/$1 "[L,QSA,B= ?,BNP]"
RedirectMatch 404 ^/\.git