`

解决“HTTP/1.1 405 Method not allowed”问题

阅读更多

      Apache、IIS、Nginx等绝大多数web服务器,都不允许静态文件响应POST请求,否则会返回“HTTP/1.1 405 Method not allowed”错误。 即,将出错页面表单的method=“post”改为“get”即可...

1
2
分享到:
评论
4 楼 syc001 2013-01-09  
hp_ing 写道
好文章好文章好文章

3 楼 syc001 2013-01-08  
zoujun8666 写道
谢谢,居然 可以了,在网上找了半天,非常感谢哟!

呵呵,客气客气~
2 楼 zoujun8666 2013-01-06  
谢谢,居然 可以了,在网上找了半天,非常感谢哟!
1 楼 hp_ing 2012-08-18  
好文章好文章好文章

相关推荐

    http请求405错误方法不被允许的解决 (Method not allowed)

    主要介绍了http请求405错误方法不被允许的解决 (Method not allowed),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

    Nginx静态文件响应POST请求 提示405错误的解决方法

    Apache、IIS、nginx等绝大多数web服务器,都不允许静态文件响应POST请求,否则会返回“HTTP/1.1 405 Method not allowed”错误

    Http1.1超文本传输协议中文版

    10.4.6 405 不被允许的方法(Method Not Allowed) 65 10.4.7 406 不接受的 (Not Acceptable) 65 10.4.8 407 代理服务器授权所需(Proxy Authentication Required) 65 10.4.9 408 请求超时(Request Timeout) 65...

    JSP页面报错列表查询

    405 Method Not Allowed 请求方法(GET、POST、HEAD、DELETE、PUT、TRACE等)对指定的资源不适用。(HTTP 1.1新) 406 Not Acceptable 指定的资源已经找到,但它的MIME类型和客户在Accpet头中所指定的不兼容(HTTP ...

    servlet2.4doc

    Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged. encodeUrl(String) - Method in class javax.servlet....

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: The TFlexPanel.FindControlAtPoint method maked virtual to realize RealTime-capability when on mouse cursor moving the flex-object search not occurs. - FIX: After deleting the selected points ...

    HTTP协议详解

    10.4.6 405 不被允许的方法(Method Not Allowed) 10.4.7 406 不接受的 (Not Acceptable) 10.4.8 407 代理服务器授权所需(Proxy Authentication Required) 10.4.9 408 请求超时(Request Timeout) 10.4.10 409...

    sip RFC3261 中文版

    21.4.6 405 Method Not Allowed 209 21.4.7 406 Not Acceptable 209 21.4.8 407 Proxy Authentication Required 209 21.4.9 408 Request Timeout 210 21.4.10 410 Gone 210 21.4.11 413请求实体过大。 210 21.4.12 ...

    Sosoo 1.0网络爬虫程序.doc

    # deny stand for if the doc match the conditions,will not down the file # ,express the doc content byte size is smaller than the value # > size ,express the doc contact byte size is larger than the ...

    java-servlet-api.doc

    RFC2068超文本传输协议--HTTP/1.1 RFC2069一个扩展HTTP:摘要访问鉴定 RFC2109HTTP状态管理机制 RFC2145HTTP版本号的使用和解释 RFC2324超文本CoffeePot控制协议(HTCPCP/1.0) 万维网协会(http://www.w3.org)管理着...

    SIP - Understanding the Session Initiation Protocol, 2nd Ed - 1459

    5.4.6 405 Method Not Allowed 115 5.4.7 406 Not Acceptable 115 5.4.8 407 Proxy Authentication Required 115 5.4.9 408 Request Timeout 116 5.4.10 409 Conflict 116 5.4.11 410 Gone 116 5.4.12 411 Length ...

    数位板压力测试

    The nota-tion “1.1:” marks new text or commentaries explaining new functionality added to existing features. 1 BACKGROUND INFORMATION This document describes a programming interface for using ...

    ImpREC 1.7c

    - Disassembler is allowed on valid slot too now - Fixed HexView to show all printable chars - Added disasm comment for <CALL X> where [API]> - Added Right Click function on disasm code to ease...

    C# Game Programming Cookbook for Unity 3D - 2014

    1.1 Important Programming Concepts.....................................2 1.1.1 Manager and Controller Scripts...............................2 1.1.2 Script Communication...................................

    Bochs - The cross platform IA-32 (x86) emulator

    - GUI: select mouse capture toggle method in .bochsrc. - Ported most of Qemu's 'virtual VFAT' block driver (except runtime write support, but plus FAT32 suppport) - Added write protect option for ...

    python3.6.5参考手册 chm

    PEP 314: Metadata for Python Software Packages v1.1 PEP 328: Absolute and Relative Imports PEP 338: Executing Modules as Scripts PEP 341: Unified try/except/finally PEP 342: New Generator Features...

    二级减速器课程设计说明书reducer design specification.doc

    It can not only carry out the transport of broken bulk materials, but also the transport of finished articles. In addition to the pure material transport, it can also cooperate with the requirements ...

Global site tag (gtag.js) - Google Analytics