I've my vhost as following
<VirtualHost *:80> DocumentRoot "E:/projects/m1/m1924c/project" ServerName m1924c.local ServerAlias /test4 "E:/projects/m1/m1924c/project" ErrorLog "E:/projects/m1/m1924c/project/error.log" CustomLog "E:/projects/m1/m1924c/project/access.log" common <Directory "E:/projects/m1/m1924c/project"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from All Require all granted </Directory> </VirtualHost>
I've my project files in the following folder
When I try to visit following URL
It's not working and giving error 404
If I visit following URL, Then it's working fine
Without index.php it's working fine, Why is that so? Is there any way I get data even with index.php in URL? or how can I remove index.php from API URL only?