httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert McNaught" <asteriska...@gmail.com>
Subject [users@httpd] PUT method
Date Wed, 21 May 2008 18:59:20 GMT
Hi,

I am pretty new to Apache, and cannot seem to find a lot of
documentation on this online.

I am trying to set up Apache as a provisioning server for telephones.
The telephones request configuration files, and then use the PUT
method to upload log files once they have booted.

I can see in the access log what the phone is trying to do, but cannot
figure out how to allow the PUT method, which from what I gather is
pretty uncommon.  I have tried making permissions 777 for the
directory the phone is trying to upload to incase that was the issue.

I am using webmin and apache 2.2 to try and make the configuration
easier, although I am not sure it does.

This is a dump of the apache access log: where you can see an example
GET and PUT.

xxx.xxx.xxx.xxx - - [21/May/2008:11:39:35 -0700] "GET
/138/000000000000-directory.xml HTTP
/1.1" 404 316 "-" "FileTransport PolycomSoundPointIP-SPIP_501-UA/2.2.2.0084"
xxx.xxx.xxx.xxx - - [21/May/2008:11:39:46 -0700] "PUT
/138/0004f2130fb8-app.log HTTP/1.1"
405 333 "-" "FileTransport PolycomSoundPointIP-SPIP_501-UA/2.2.2.0084"

This is the error log:  The files it cannot find are not imporant for
telephone provisioning, but nonetheless, the phone tries to find them.
 The broken pipe error does not appear related to the PUT request.

[Wed May 21 11:38:08 2008] [info] [client xxx.xxx.xxx.xxx] (32)Broken
pipe: core_output_fi
lter: writing data to the network
[Wed May 21 11:38:09 2008] [info] [clien txxx.xxx.xxx.xxx] (32)Broken
pipe: core_output_fi
lter: writing data to the network
[Wed May 21 11:39:09 2008] [info] [client xxx.xxx.xxx.xxx] (32)Broken
pipe: core_output_fi
lter: writing data to the network
[Wed May 21 11:39:09 2008] [info] [client xxx.xxx.xxx.xxx] (32)Broken
pipe: core_output_fi
lter: writing data to the network
[Wed May 21 11:39:34 2008] [error] [client xxx.xxx.xxx.xxx] File does
not exist: /home/pro
visioning/public_html/138/0004f2130fb8-phone.cfg
[Wed May 21 11:39:35 2008] [error] [client xxx.xxx.xxx.xxx] File does
not exist: /home/pro
visioning/public_html/138/0004f2130fb8-directory.xml
[Wed May 21 11:39:35 2008] [error] [client xxx.xxx.xxx.xxx] File does
not exist: /home/pro
visioning/public_html/138/000000000000-directory.xml

Can anyone offer any advice on this?

TIA
Robert

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message