Jump to content

error 404 "Localhost/prestashop/api"


Recommended Posts

Hellow everyone.

I have trouble whit the web service i have prestashop 1.5.2 and i use a local server in my computer(Xampp).

I follow the developer guide and the step two say go to the site "http://myprestashop.com/api/" in my case it's

"Localhost/prestashop/api", but when i try to go a message show error 404 page not found. I have looking in google

for days but I don't find a solution.

Please this is for the Prestashop support helpme to solve this.

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 6 months later...

Hi All,

I am also facing the same issue with prestashop_1.5.4.1.I have checked my httpd.conf file AllowOverride is configureed as all

still i am not able to access the webservices.Please see the below some part of my my httpd.conf file.

===========================================

<Directory "c:/wamp/www/">

#

# Possible values for the Options directive are "None", "All",

# or any combination of:

# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

# The Options directive is both complicated and important. Please see

# http://httpd.apache.org/docs/2.2/mod/core.html#options

# for more information.

#

Options Indexes FollowSymLinks

 

#

# AllowOverride controls what directives may be placed in .htaccess files.

# It can be "All", "None", or any combination of the keywords:

# Options FileInfo AuthConfig Limit

#

AllowOverride all

 

#

# Controls who can get stuff from this server.

#

 

# onlineoffline tag - don't remove

Order Deny,Allow

Deny from all

Allow from 127.0.0.1

 

</Directory>

=======================================

When i try to access the webservice using url http://localhost/prestashop/api or http://127.0.0.1/ps1541/api/

I am getting page not found error i am getting instead of web service response.

It should be great someone please guide me to fix this issue.

Thanks in advance.

 

Regards,

NAveen

Link to comment
Share on other sites

Hi EI Partron,

 

Thanks for the update.Now i got the answer -how to load mod_rewrite module by apache

 

To enable those modules,

Left click on wamp tray icon -> Apache -> Apache modules -> rewrite_module (server restart)

 

This solved the problem.

 

Thanks for your suggestion.

 

 

Regards,

Naveen

Link to comment
Share on other sites

×
×
  • Create New...