curl / Mailing Lists / curl-users / Single Mail

curl-users

RE: TR: Curl and Prestashop on Apache Server (OVH)

From: Jean-Christophe Voyeux <jcvoyeux_at_hotmail.com>
Date: Thu, 20 Dec 2018 13:18:31 +0000

Thank you for your answer Dan.

In the log of OVH.COM I see this :

91.180.45.73 www.tecniba.be - [19/Dec/2018:23:44:45 +0100] "GET /shop/api/products?schema=blank HTTP/1.1" 200 3348 "-" "Mozilla"
91.180.45.73 www.tecniba.be - [19/Dec/2018:23:44:46 +0100] "POST /shop/api/products/ HTTP/1.1" 201 4571 "-" "Mozilla"
91.180.45.73 www.tecniba.be - [19/Dec/2018:23:44:47 +0100] "GET /shop/api/stock_availables/103 HTTP/1.1" 200 595 "-" "Mozilla"
91.180.45.73 www.tecniba.be - [19/Dec/2018:23:44:48 +0100] "PUT /shop/api/stock_availables/ HTTP/1.1" 403 235 "-" "Mozilla"
91.180.45.73 www.tecniba.be - [19/Dec/2018:23:44:48 +0100] "POST /shop/api/images/products/53 HTTP/1.1" 200 32973 "-" "Mozilla"

GET and POST run well

PUT send 403

Not easy :-(

________________________________
De : curl-users <curl-users-bounces_at_cool.haxx.se> de la part de Dan Fandrich <dan_at_coneharvesters.com>
Envoyé : jeudi 20 décembre 2018 14:00
À : curl-users_at_cool.haxx.se
Objet : Re: TR: Curl and Prestashop on Apache Server (OVH)

On Thu, Dec 20, 2018 at 11:42:18AM +0000, Jean-Christophe Voyeux wrote:
> GET and POST are ok
> PUT (and probably DELETE) sends an error 403 Forbidden !
> Perhaps something miss in the command line but I think it's also due to the
> OVH.com's configuration of APACHE.
>
> Do you know what is missing or how to open this option on APACHE.
>
> It's a mutalized server so I don't have access to the configuration of APACHE.

I think you're right—this doesn't sound like a curl problem but rather an
Apache (or maybe webapp) configuration problem. If you don't have access to
update the Apache config yourself, then you'd best talk to the system
administrator.

>>> Dan
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-20