Apache
Be sure to enable the mod_rewrite
module, so .htaccess
the file server can be resolved.
If the .htaccess
file does not work, try the following alternatives:
Options +FollowSymLinks -Indexes
RewriteEngine On
RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]
Nginx
If you use the Nginx, the following configuration is added to your site configuration, all requests will be directed to the index.php
front controller:
location / {
try_files $uri $uri/ /index.php?$query_string; }