<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
thanks !<BR>
I will try it tomorrow<BR><BR><BR>

<HR id=stopSpelling>
<BR>
Date: Mon, 1 Dec 2008 08:20:47 -0600<BR>From: nick.pearson@gmail.com<BR>To: nginx@sysoev.ru<BR>Subject: Re: about use post method to request the static page<BR><BR>If I understand correctly, I had the same problem and solved it using this:<BR>
<DIV><BR></DIV>
<DIV>server {</DIV>
<DIV>&nbsp;&nbsp;...</DIV>
<DIV>&nbsp;&nbsp;location / {</DIV>
<DIV>&nbsp;&nbsp; &nbsp;if ($request_method = POST) {</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;proxy_pass <A href="http://upstream_server/">http://upstream_server</A>;</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;break;</DIV>
<DIV>&nbsp;&nbsp; &nbsp;}</DIV>
<DIV>&nbsp;&nbsp; &nbsp;...</DIV>
<DIV>&nbsp;&nbsp;}</DIV>
<DIV>}</DIV>
<DIV><BR></DIV>
<DIV>This is the first "if" statement in in my "location" directive. &nbsp;If the request is a post, it is automatically sent to the app server and cached files are ignored even if they exist.</DIV>
<DIV><BR></DIV>
<DIV>Hope that helps.</DIV>
<DIV><BR></DIV>
<DIV>Nick</DIV>
<DIV><BR><BR>
<DIV class=EC_gmail_quote>2008/12/1 曹 海峰 <SPAN dir=ltr>&lt;<A href="mailto:dennis__cao@hotmail.com">dennis__cao@hotmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV>hiya :<BR>&nbsp;Now I use the Nginx 7.x +tomcat 6.x<BR>&nbsp;I have some application should use post method to request&nbsp; tge static page <BR>&nbsp;but always filed&nbsp; i use the httpwatch to catch the package ,I find the url give the 405 code<BR>what should I do?<BR>thanks<BR>&nbsp;<BR><BR>
<HR>
下載 Windows Live Messenger 8.5 最新版,多元溝通、盡情分享,和即時傳訊好友線上同樂!— <A href="http://get.live.com/zh-cht-tw/betas/messenger_betas">立即下載</A></DIV></BLOCKQUOTE></DIV><BR></DIV><br /><hr />聰明搜尋和瀏覽網路的免費工具列 — <a href='http://toolbar.live.com/' target='_new'>Windows Live 搜尋工具列</a></body>
</html>