2016-10-29 15:07:15 +00:00
|
|
|
Options +FollowSymLinks
|
|
|
|
Header set Access-Control-Allow-Origin: *
|
|
|
|
Header set Access-Control-Allow-Credentials: true
|
|
|
|
#Header set Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
|
|
|
|
ErrorDocument 404 /404.php
|
|
|
|
RewriteEngine On
|
|
|
|
## using www for url shortener domain is bad idea :D
|
|
|
|
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
|
|
|
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
|
|
|
RewriteRule ^$ index.php [L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2017-09-19 17:22:15 +00:00
|
|
|
###RewriteRule (.*)/milfs/archivos/$1 /milfs/archivos/index.php?archivo=$1 [L,QSA,NC]
|
2016-10-29 15:07:15 +00:00
|
|
|
RewriteRule (.*) index.php?v=$1 [QSA,L]
|
2017-09-19 17:22:15 +00:00
|
|
|
#RewriteRule /^$ index.php?v=$1 [QSA,L]
|
|
|
|
RewriteRule ^milfs/archivos/$ milfs/archivos/index.php?archivo=$1 [L,QSA,NC]
|
|
|
|
|