http服务器

HTTP协议语法(转)

Posted by pangyt on 2010年10月11日 at 1:45 下午

BNF表示的HTTP协议语法 Request      = Request-Line *(( general-header | request-header | entity-header ) CRLF) CRLF [ message-body ] Request-Line = Method SP Request-URI SP HTTP-Version CRLF Method       = “OPTIONS” | “GET” | “HEAD” | “POST” | “PUT” | “DELETE” | “TRACE” | “CONNECT” | extension-method extension-method = token Request-URI  = “*” | absoluteURI | abs_path | authority [...]

apache

Posted by pangyt on 2010年10月11日 at 12:52 下午

查看编译参数:cat $apachehome$/build/config.nice 检查一下配置文件是否正确:/usr/local/apache/bin/apachectl configtest