Recently I have moved a magento 1.9 but the api/rest url is 404ing.
The site is running on php 7.0 on a virtual host.
I have added
<Directory /var/www/html/magento/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
But this isn’t working :/
I have also cheched the .htaccess file for
RewriteRule ^api/rest api.php?type=rest [QSA,L]
The api/rest works fine on my local version but just not on the live server.
Any help with this would be a god send 🙂
2
Answers
Solution
In the .conf file I needed to remove
Options Indexes FollowSymLinks
Hope this helps :)
Make sure you use
Options -MultiViews
instead ofOptions FollowSymlinks
.