教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 Apache Reference Manual (10)

Apache Reference Manual (10)

发布时间:2016-10-27   编辑:jiaochengji.com
教程集为您提供Apache Reference Manual (10)等资源,欢迎您收藏本站,我们将为您提供最新的Apache Reference Manual (10)资源
Satisfy directive
Syntax: Satisfy 'any' or 'all'
Default: Satisfy all
Context: directory, .htaccess
Status: core
Compatibility: Satisfy is only available in Apache 1.2 and later
Access policy if both allow and require used. The parameter can be either 'all' or 'any'. This directive is only useful if access to a particular area is being restricted by both username/password and client host address. In this case the default behavior ("all") is to require that the client passes the address access restriction and enters a valid username and password. With the "any" option the client will be granted access if they either pass the host restriction or enter a valid username and password. This can be used to password restrict an area, but to let clients from particular addresses in without prompting for a password.
See also require and mod_access.
--------------------------------------------------------------------------------
ScoreBoardFile directive
Syntax: ScoreBoardFile filename
Default: ScoreBoardFile logs/apache_status
Context: server config
Status: core
The ScoreBoardFile directive is required on some architectures to place a file that the server will use to communicate between its children and the parent. The easiest way to find out if your architecture requires a scoreboard file is to run Apache and see if it creates the file named by the directive. If your architecture requires it then you must ensure that this file is not used at the same time by more than one invocation of Apache.
If you have to use a ScoreBoardFile then you may see improved speed by placing it on a RAM disk. But be careful that you heed the same warnings about log file placement and security.
Apache 1.2 and above:
Linux 1.x users might be able to add -DHAVE_SHMGET -DUSE_SHMGET_SCOREBOARD to the EXTRA_CFLAGS in your Configuration. This might work with some 1.x installations, but won't work with all of them. (Prior to 1.3b4, HAVE_SHMGET would have sufficed.)

您可能感兴趣的文章:
Apache Reference Manual (11)
Apache Reference Manual (12)
Apache Reference Manual (10)
Apache Reference Manual (1)
Apache Reference Manual (7)
Apache Reference Manual (6)
Apache Reference Manual (4)
Apache Reference Manual (3)
Apache Reference Manual (2)
Apache Reference Manual (5)

[关闭]
~ ~