Problem when creating RewriteRule


I have a problem creating RewriteRule in .htaccess It turns out that I have RewriteRule that takes all requests from the url and esoty tried from get another but I have no answer.


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

RewriteRule ^([aA-zZ])$ index.php?site=$1 [QSA]
RewriteCond %{HTTP_HOST} ^(^.*)\.localhost 
RewriteRule (.*) index.php?site=%1

RewriteRule ^(.*[-a-zA-Z0-9/]+)$ index.php?module=$1 [QSA]

RewriteRule ^file/(.+)$ csrf.php?module=$1 [QSA]
asked by juan cruz 22.12.2018 в 00:02

0 answers