Skip to content

Instantly share code, notes, and snippets.

@ramingar
Last active September 5, 2015 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramingar/07fa0091f949e04982ef to your computer and use it in GitHub Desktop.
Save ramingar/07fa0091f949e04982ef to your computer and use it in GitHub Desktop.
.htaccess para usar el patrón bootstrap #htaccess #bootstrap #apache
# Hay que recordar haber instalado el módulo rewrite: sudo a2enmod rewrite
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment