RewriteRule returns empty in re-writing htaccess

0

I have a problem with the rewrite in .htaccess I am trying to get a varible by RewriteRule . the issue is that it does not return the empty variable.

.htaccess

Header set Access-Control-Allow-Origin "*"
Options +FollowSymLinks
RewriteEngine On
RewriteBase /


RewriteCond %{HTTP_HOST} ^(^.*)\.localhost
RewriteRule (.*) inc/whiteDomains.php?site=%1 [QSA]


RewriteRule ^(.*[-a-zA-Z0-9/]+)$ inc/whiteDomains.php?ruta=%1 [QSA]


RewriteRule ^(.*)file/(.+)$ vistas/getFile.php?file=$1 [QSA]

DirectoryIndex vistas/autoload.php
    
asked by juan cruz 23.12.2018 в 18:45
source

0 answers