visortiz/bibliotroca/master/.htaccess
#CONFIGURAÇÃO PARA LOCALHOST
#<IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteBase /bibliotroca
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond $1 !^(index.php|images|robots.txt|css|docs|js|system)
# RewriteRule ^(.*)$ /bibliotroca/index.php?/$1 [L]
#</IfModule>
#CONFIGURAÇÃO PARA PRODUÇÃO
RewriteBase /
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index.php|images|robots.txt|css|docs|js|system)
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file