PartidoDeLaRed/4milfundadores/master/new/.htaccess - Htaccess File

PartidoDeLaRed/4milfundadores/master/new/.htaccess

Options +FollowSymlinks
RewriteEngine On

IndexIgnore *
<Files .htaccess>
  order allow,deny
  deny from all [L]
</Files>

AddDefaultCharset utf-8
AddCharset utf-8 .css .js .json .rss .vtt .xml .html .php

<IfModule mod_headers.c>
  Header set X-UA-Compatible "IE=Edge,chrome=1"
  # mod_headers can't match by content-type, but we don't want to send this header on *everything*...
  <FilesMatch ".(js|css|gif|png|jpe?g|pdf|xml|svg|svgz|eot|ttf|otf|woff|ico|webp|appcache)$">
    Header unset X-UA-Compatible
  </FilesMatch>
</IfModule>

ErrorDocument 404 "P&aacute;gina no encontrada."

# RewriteCond %{REQUEST_URI} app/
# RewriteRule . http://www.domain.com/$1 [R=301,NC]

# No permito acceso a los archivos adentro de /app
RedirectMatch 404 ".*/app/.*"

# Intento de pretty URLs a los archivos .php, pero no me funciona.
# RewriteCond %{REQUEST_URI}.php -f
# RewriteRule .* %{REQUEST_URI}.php?%{QUERY_STRING} [L,NC]

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_URI

Comments

Apache