<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">I tracked this down and found
out it was indeed only when a post to a static file was happening.<br>
I have some code which caches script output by creating static files of
some content. It shouldn't have been doing it for POST situations but
it was sometimes. Once that was fixed I didn't get this problem again.
It was helpful to know how the 405 originated.<br>
Thanks,<br>
Chris :)<br>
</font><br>
Igor Sysoev wrote:
<blockquote cite="mid:20080823060913.GC97844@rambler-co.ru" type="cite">
  <pre wrap="">On Fri, Aug 22, 2008 at 10:53:25PM +0700, Chris Savery wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Having a problem with a 405 response for something that has often worked 
before.

url is like:  condor?cmd=Fbs,601&amp;stars=1
and post data is: comment=xxxx
or sometimes no post data if comment not type in.

I see that content length is set in header going out.
But keep getting 405 back except the odd time for some reason I get a 
200 OK.
Anyone have any ideas? I have other parts of my code where POST works ok 
with the same php handler. Note above is has no php extension because I 
have a rewrite that adds it for the backend. That has been working fine 
in all other cases.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
nginx usually returns 405 for POST to static files.
Could you show example line from access log ?


  </pre>
</blockquote>
</body>
</html>