Answer the question
In order to leave comments, you need to log in
Error in .htaccess, how to fix?
Throws 500 error. Where is the mistake? Itself here is a complete 0. <FilesMatch "\.php"> ...
inserted hosting, to connect php 7. Separately, everything seems to work, but together (
<FilesMatch "\.php">
RemoveHandler .php
AddType application/x-httpd-php7 .php
Action application/x-httpd-php7 /cgi-bin/php7/php7-cgi
</FilesMatch>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /core/router.php?path=$1 [NC,L,QSA]
Answer the question
In order to leave comments, you need to log in
Lines 3-4 should be 70 for php 7.0, 71 for 7.1, etc., instead of 7
PS and why do you need the entire first block?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question