December 21th Friday (十二月 二十一日 金曜日)

Scope of Configuration

  RSRC_CONF:httpd.conf at top level or in a VirtualHost context. All directives using server configuration should use this option, as other
  contexts are meaningless for a server configuration.

  ACCESS_CONF:httpd.conf in a directory context. This option is appropriate to per-directory configuration directives for a server administrator
  only.  It is often combined (using OR) with RSRC_CONF to allow its use anywhere within httpd.conf, giving rise to the “gotcha” mentioned earlier
  related to directives appearing in ambiguous contexts.

  OR_LIMIT, OR_OPTIONS, OR_FILEINFO, OR_AUTHCFG, OR_INDEXES: extend ACCESS_CONF to allow use of the directive in .htaccess, where permitted by
  the AllowOverride setting.

  An additional value, EXEC_ON_READ, can be ORed with any of the preceding options to take control of parsing httpd.conf into a module.

Configuration Function Types

  This is one of several such macros defined in http_config.h:

AP_INIT_NO_ARGS--no arguments
AP_INIT_FLAG--a single On/Off argument
AP_INIT_TAKE1--a single string, file or numeric argument
AP_INIT_TAKE2, AP_INIT_TAKE3--two/three arguments
AP_INIT_TAKE12, and so on--directives taking variable numbers of arguments
AP_INIT_ITERATE--function will be called repeatedly with each of an unspecified number of arguments
AP_INIT_ITERATE2--function will be called repeatedly with two arguments
AP_INIT_RAW_ARGS--function will be called with arguments unprocessed

  Last night I studied how to implement an embeded OS again.  I almost took one year to study it.  The principle of threads and the critional
section, and how to boot a system, the mechanism of building device database, and the architecture of device driver, and so on.  Those all are
important to a programmer.  Those are fundmental knowledge.

  I can go inside an system.  It is a good example to understand others.

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值