En l'instant précis du 01/03/07 01:21, Keith Bottner s'exprimait dans
toute sa noblesse:
>  
> Now this works perfectly if I do it from http://10.0.0.2/manager/html and
> use the Web interface to upload the ROOT.war. It deploys to / with no
> problems. But if I use the non HTML version it will not deploy to /
> properly.
>   
You can use curl to simulate the submission of manager upload form. See
curl -D (--form) for details on how to POST multipart form (mandatory
for uploads), and go to manager html source file to see what are form datas.

untested suggestion:
curl -u manager:passsword -F "file=@/home/manager/ROOT.war"
http://10.0.0.2/manager/html/upload

>  
> Thanks in advance for your help,
>  
> Keith
>
>   


---------------------------------------------------------------------
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