Hi,

   I got some progress.

   I used a Python program to send a HTTP PUT request to my tomcat
server.
   The Python allow my pick any local file to upload to tomcat server
box.
   And I got response back from tomcat with error code 403(Forbidden).
   I'm thing, tomcat can handler the HTTP PUT, but need do something
about 
   config. Hope someone can help out of this config crabe.

   I have the client side log to look at, but I don't see any log in 
   tomcat server side. Could anyone tell me how to turn on tomcat 
   tracing log? I have 8 default log files there, but none tracing this
test.
   They are: 
        admin.2007-01-26.log,
        catalina.2007-01-26.log,
        host-manager.2007-01-26.log,
        jakarta_service_20070126.log,
        locahost.2007-01-26.log,
        manager.2007-01-26.log,
        stderr_20070126.log,
        stdout_20070126.log.
                        
   Here is my test client side tracing:
----------------------------------------------------------------------
<<Command line command>>
C:\Python25>Python QuickPut.py -v C:\Python25\put.txt
http://localhost:8080/incomming/put_test1.txt myUserID myPasswd

<<Tracing>>:
Sending HEAD request to: http://localhost:8080/incomming/put_test1.txt
Auth: {'uname': 'myUserID', 'pswd': 'myPasswd'}
HEAD response code: 404
Response headers: Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 1024
Date: Fri, 26 Jan 2007 16:49:26 GMT
Connection: keep-alive
HEAD response code: 404
Response headers: Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 1024
Date: Fri, 26 Jan 2007 16:49:26 GMT
Connection: keep-alive
PUTing to: http://localhost:8080/incomming/put_test1.txt
Data: Content-Length: 29, Snippet: "This is a HTTP PUT test file."
Getting reply...
Got reply
Done: 403: Forbidden
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 964
Date: Fri, 26 Jan 2007 16:49:26 GMT
Connection: keep-alive


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to