Jump to content

Nginx & Webservice - Not working


Recommended Posts

Hello Guys,

Having a Prestashop 1.6.1.x and the webservice is not working.

When typing in "domain.com/api/" I just got a redirecting error.

The webserver is running Nginx, and I think the problem is with this.
In htaccess, I have these rules:

RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api$ api/ [L]
RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

Anyone that knows how to get this working again ? I tried all sorts of things with no luck.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...