Htaccess File

visortiz/bibliotroca/master/.htaccess

REQUEST_FILENAME
#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>
Exit mobile version