Repositorio para la herramienta Tupale completo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
788B

  1. Options +FollowSymLinks
  2. Header set Access-Control-Allow-Origin: *
  3. Header set Access-Control-Allow-Credentials: true
  4. #Header set Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
  5. ErrorDocument 404 /404.php
  6. RewriteEngine On
  7. ## using www for url shortener domain is bad idea :D
  8. RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  9. RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
  10. RewriteRule ^$ index.php [L]
  11. RewriteCond %{REQUEST_FILENAME} !-f
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. ###RewriteRule (.*)/milfs/archivos/$1 /milfs/archivos/index.php?archivo=$1 [L,QSA,NC]
  14. RewriteRule (.*) index.php?v=$1 [QSA,L]
  15. #RewriteRule /^$ index.php?v=$1 [QSA,L]
  16. RewriteRule ^milfs/archivos/$ milfs/archivos/index.php?archivo=$1 [L,QSA,NC]