curl XPUT returning HTTP 500 error message
Posted
by
pradeepchhetri
on Server Fault
See other posts from Server Fault
or by pradeepchhetri
Published on 2012-09-05T07:50:57Z
Indexed on
2012/09/05
9:40 UTC
Read the original article
Hit count: 251
I have added the following changes in nginx configuration.
server {
listen 8080;
root /usr/share/nginx/www;
client_body_temp_path /tmp/;
dav_methods PUT DELETE MKCOL COPY MOVE;
create_full_put_path on;
dav_access user:rw group:rw all:rw;
}
I have my nginx configured with --with-http_dav_module
also. But when I am trying to running the command:
$ curl -XPUT http://172.16.31.127:8080/test.html -d 'test'
I am getting 500 Internal Server error.
Can anyone help me out in solving this.
© Server Fault or respective owner