# FIX_APPLIED_NETFAN_20260226
Options -Indexes
# Si tu hosting permite Options, podés usar:
# Options +FollowSymLinks
# Si te da 500, usá:
# Options +SymLinksIfOwnerMatch
Header always set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://code.jquery.com https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://stackpath.bootstrapcdn.com https://radioshosting.com https://recursos.x7.com.ar https://use.fontawesome.com https://www.google.com https://www.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com; script-src-elem 'self' 'unsafe-inline' https://code.jquery.com https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://stackpath.bootstrapcdn.com https://radioshosting.com https://recursos.x7.com.ar https://use.fontawesome.com https://www.google.com https://www.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com; connect-src 'self' https://www.google-analytics.com https://region1.google-analytics.com https://stats.g.doubleclick.net; img-src 'self' data: https:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://stackpath.bootstrapcdn.com https://radioshosting.com https://cdnjs.cloudflare.com https://recursos.x7.com.ar https://use.fontawesome.com; font-src 'self' data: https://fonts.gstatic.com https://use.fontawesome.com https://cdnjs.cloudflare.com; frame-src 'self' https://www.google.com https://www.youtube.com https://www.facebook.com; object-src 'none'; base-uri 'self'; frame-ancestors 'self';"
RewriteEngine On
RewriteCond %{REQUEST_URI} travel-js-ns\.beer [NC,OR]
RewriteCond %{QUERY_STRING} travel-js-ns\.beer [NC,OR]
RewriteCond %{HTTP_REFERER} travel-js-ns\.beer [NC]
RewriteRule ^ - [F,L]
# (Opcional pero recomendado) No tocar archivos/carpetas reales
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^rss\.xml$ rss.php [L]
RewriteRule ^nota/([^/]+)/([^/]+)/?$ nota.php?ID=$1&e=$2 [L,QSA]
RewriteRule ^a-nota/([^/]+)/([^/]+)/?$ nota-a.magazine.php?ID=$1&e=$2 [L,QSA]
RewriteRule ^tienda/([^/]+)/([^/]+)/?$ tienda_articulo.php?ID=$1&e=$2 [L,QSA]
RewriteRule ^club/([^/]+)/([^/]+)/?$ club.php?ID=$1&e=$2 [L,QSA]
RewriteRule ^clubes/?$ clubes.php [L]
RewriteRule ^nota-amp/([^/]+)/([^/]+)/?$ nota_amp.php?ID=$1&e=$2 [L,QSA]
RewriteRule ^n/([^/]+)/?$ nota.php?ID=$1 [L,QSA]
RewriteRule ^noticias/([^/]+)/([^/]+)/?$ index_seccion.php?cat=$1&r=$2 [L,QSA]
RewriteRule ^seccion/([^/]+)/([^/]+)/?$ seccion.php?e=$1&r=$2 [L,QSA]
RewriteRule ^nacional/?$ lot_nacional.php [L]
RewriteRule ^buenos-aires/?$ lot_buenos-aires.php [L]
RewriteRule ^catamarca/?$ lot_catamarca.php [L]
RewriteRule ^chaco/?$ lot_chaco.php [L]
RewriteRule ^chubut/?$ lot_chubut.php [L]
RewriteRule ^corrientes/?$ lot_corrientes.php [L]
RewriteRule ^entre-rios/?$ lot_entre-rios.php [L]
RewriteRule ^formosa/?$ lot_formosa.php [L]
RewriteRule ^tierra-del-fuego/?$ lot_tierra-del-fuego.php [L]
RewriteRule ^jujuy/?$ lot_jujuy.php [L]
RewriteRule ^la-pampa/?$ lot_la-pampa.php [L]
RewriteRule ^la-rioja/?$ lot_la-rioja.php [L]
RewriteRule ^mendoza/?$ lot_mendoza.php [L]
RewriteRule ^misiones/?$ lot_misiones.php [L]
RewriteRule ^neuquen/?$ lot_neuquen.php [L]
RewriteRule ^rio-negro/?$ lot_rio-negro.php [L]
RewriteRule ^salta/?$ lot_salta.php [L]
RewriteRule ^san-juan/?$ lot_san-juan.php [L]
RewriteRule ^san-luis/?$ lot_san-luis.php [L]
RewriteRule ^santa-cruz/?$ lot_santa-cruz.php [L]
RewriteRule ^santa-fe/?$ lot_santa-fe.php [L]
RewriteRule ^santiago-del-estero/?$ lot_santiago-del-estero.php [L]
RewriteRule ^tucuman/?$ lot_tucuman.php [L]
RewriteRule ^uruguay/?$ lot_uruguay.php [L]
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/javascript application/json
ExpiresActive On
# HTML casi sin cache
ExpiresByType text/html "access plus 5 seconds"
ExpiresByType application/xhtml+xml "access plus 5 seconds"
# CSS/JS
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
# Imágenes
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
# Video
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
ExpiresByType video/quicktime "access plus 1 year"
ExpiresByType video/x-msvideo "access plus 1 year"
# PDF
ExpiresByType application/pdf "access plus 1 year"
# Fuentes
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
# Audio
ExpiresByType audio/mpeg "access plus 1 year"
ExpiresByType audio/ogg "access plus 1 year"
ExpiresByType audio/wav "access plus 1 year"