0

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

E:\projects\m1\m1924c\project\test4

When I try to visit following URL http://m1924c.local/test4/index.php/api/rest/custom/getProductAttributes/?limit=100

It's not working and giving error 404

If I visit following URL, Then it's working fine http://m1924c.local/test4/api/rest/custom/getProductAttributes/?limit=100

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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.