b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

allowoverride fileinfo options_allowoverride none_order deny(2)

电脑杂谈  发布时间:2017-03-12 10:24:02  来源:网络整理

</IfModule>

# perchild MPM

# NumServers: constant number of server processes

//设置使用perchild MPM运行方式的参数

<IfModule perchild.c>

NumServers5

StartThreads5

MinSpareThreads5

MaxSpareThreads10

MaxThreadsPerChild 20

MaxRequestsPerChild 0

</IfModule>

//设置服务器的端口

#Listen 12.34.56.78:80

Listen 202.112.85.101:80

#

# Load config files from the config directory "/etc/httpd/conf.d".

//将/etc/httpd/conf.d目录下所有以conf结尾的配置文件包含进来

Include conf.dpublic_html>

#AllowOverride FileInfo AuthConfig Limit

#Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

#<Limit GET POST OPTIONS>

#Order allow,deny

#Allow from all

#</Limit>

#<LimitExcept GET POST OPTIONS>

#Order deny,allow

#Deny from all

#</LimitExcept>

#</Directory>

//当访问服务器时,依次查找页面Index.html index.htm.var

DirectoryIndex index.html index.html.var

//指定保护目录配置文件的名称

AccessFileName .htaccess

//拒绝访问以.ht开头的文件,即保证.htaccess不被访问

<Files ~ "^.ht">

Order allow,deny

Deny from all

</Files>

//指定负责处理MIME对应式的配置文件的存放位置

TypesConfig /etc/mime.types

//指定默认的MIME文件类型为纯文本或HTML文件

DefaultType text/plain

//当mod_mime_magic.c模块被加载时,指定magic信息码配置文件的存放位置

<IfModule mod_mime_magic.c>

#MIMEMagicFile /usr/share/magic.mime

MIMEMagicFile conf/magic

</IfModule>

//只记录连接Apache服务器的Ip地址,而不纪录主机名

HostnameLookups Off

//指定错误日志存放位置

ErrorLog logs/error_log

//指定记录的错误信息的详细等级为warn等级

LogLevel warn

//定义四中记录日志的式

LogFormat "%h %l %u %t "%r" %>s %b "%{ Referer }i" "%{ User-Agent }i"" combined


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-37075-2.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...