How to solve the problem of "405 not allowed"?

dennis cao dennis__cao at hotmail.com
Fri Oct 9 06:49:50 MSD 2009


 <20090527084617.GD60957 at rambler-co.ru>
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


Is this patch build-in  in the new version?
> Date: Wed, 27 May 2009 12:46:17 +0400
> From: is at rambler-co.ru
> To: nginx at sysoev.ru
> Subject: Re: How to solve the problem of "405 not allowed"?
> 
> On Wed, May 27, 2009 at 03:17:49AM -0400, peacock wrote:
> 
>> When I post when a JavaScript file, "405 not allowed" error will appear.
>> 
>> if use proxy, it can work.
>> 
>> error_page 405 =200 @405;
>> location @405 {
>> root /htdocs;
>> proxy_pass http://localhost:8080;
>> }
>> 
>> 
>> but I do not want to use proxy, just want to use Nginx, can to achieve it?
> 
> Try the attached patch, it allows to POST to static files.
> Probably I will include it in 0.8.0.
> 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/ 		 	   		  
_________________________________________________________________
¤U¸ü Windows Live Messenger 9.0¡A¦h¤¸·¾³q¡BºÉ±¡¤À¨É¡A©M§Y®É¶Ç°T¦n¤Í½u¤W¦P¼Ö¡I¡X ¥ß§Y¤U¸ü
http://download.live.com/messenger





More information about the nginx mailing list