You can change .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
and change the AllowOverride None "to /etc/httpd/conf/httpd.conf (if you are using AMI Linux)
in " AllowOverride All "
after that restart your apache with the command as follows:
sudo service httpd restart
It works and is tested on my aws ec2.
source
share