Skip to content

Instantly share code, notes, and snippets.

@xtornasol512
Created November 15, 2013 06:38
Show Gist options
  • Save xtornasol512/7480109 to your computer and use it in GitHub Desktop.
Save xtornasol512/7480109 to your computer and use it in GitHub Desktop.
Configuraciones regulares en el Archivo de .htacces de Apache
Options +SymLinksIfOwnerMatch
RewriteEngine On
#Indexes para evitar que naveguen por las carpetas
Options -Indexes
#Agregar error 404 a 404.html
ErrorDocument 404 /404.html
#Redirecciones a páginas
Redirect /Contacto.html http://neijingtehuacan.com/pages/contacto.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment