Answer the question
In order to leave comments, you need to log in
500 server error when having a get parameter?
I would be very grateful if someone could help.
There is a site. On all get pages, the parameter is set without problems.
In addition to the main page.
In the same way as it is not loaded by url from index.php
I.e.
www.site.ru - loads
www.site.ru/index.php or www.site.ru?get=flag - gives error 500.
htaccess file.
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA]
php_flag display_errors off
php_flag display_startup_errors off
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question