Это файл .htaccess:
Код: Выделить всё
RewriteEngine On
# Route all other requests to index.php
RewriteRule . index.php
# Allow access to the upload directory
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
# Allow access to image files
Require all granted

Я только учусь писать API на PHP, поэтому у меня мало опыта. Надеюсь, люди могут мне помочь, мне действительно нужно это исправить как можно быстрее.
Подробнее здесь: https://stackoverflow.com/questions/786 ... h-htaccess