Activer le support pour les méthodes HTTP sur le serveur HTTP Apache

J'envoie une demande PUT par curl et obtenir le code d'état 405 Method Not Allowed. J'ai commenté

<limit>

Directive B.

httpd.conf

Fichier, mais cette erreur apparaît toujours.

Demande de courbure m'envoyant

curl -w "OFB:return-code=%{http_code}:time-total=%{time_total}::OFE"  -g -v \
--cert /tmp/2k.pem --key /tmp/2k.key --limit-rate 0 -o output.gz \
-H 'Accept-Encoding: gzip' -X PUT http://[2010::102]/sw_compression/ht.html

Obtenir une réponse

&gt; PUT /sw_compression/ht.html HTTP/1.1
&gt; User-Agent: curl/7.35.0
&gt; Host: [2010::102]
&gt; Accept: */*
&gt; Accept-Encoding: gzip
&gt;
&lt; HTTP/1.1 405 Method Not Allowed
&lt; Date: Thu, 16 Feb 2017 09:03:09 GMT
* Server Apache/2.2.22 (Fedora) is not blacklisted
&lt; Server: Apache/2.2.22 (Fedora)
&lt; Allow: GET,HEAD,POST,OPTIONS,TRACE
&lt; Content-Length: 400
&lt; Content-Type: text/html; charset=iso-8859-1
&lt;
{ [data not shown]
100 400 100 400 0 0 39062 0 --:--:-- --:--:-- --:--:-- 44444

</limit>
Invité:

Pour répondre aux questions, connectez-vous ou registre