Код: Выделить всё
The requested URL /login was not found on this server
Настройки Httpd.conf ;
Код: Выделить всё
AllowOverride none
Require all denied
DocumentRoot "/var/www/html"
AllowOverride None
Require all granted
MultiViews
AllowOverride None
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex xxx/public/index.php
Код: Выделить всё
Options -MultiViews -Indexes
Options +FollowSymLinks
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Подробнее здесь: https://stackoverflow.com/questions/559 ... sue-on-the