highperformance.conf-dist

来自「安装很简单~运行2个EXE文件然后用客户端登陆就行了」· CONF-DIST 代码 · 共 53 行

CONF-DIST
53
字号
# Ha, you're reading this config file looking for the easy way out!# "how do I make my apache server go really really fast??"# Well you could start by reading the /manual/misc/perf-tuning.html# page.  But, we'll give you a head start.## This config file is small, it is probably not what you'd expect on a# full featured internet webserver with multiple users.  But it's# probably a good starting point for any folks interested in testing# performance.## To run this config you'll need to use something like:#     httpd -f @@ServerRoot@@/conf/highperformance.confPort 80ServerRoot @@ServerRoot@@DocumentRoot @@ServerRoot@@/htdocsMaxClients 150StartServers 5MinSpareServers 5MaxSpareServers 10# Assume no memory leaks at allMaxRequestsPerChild 0# this is a True Config File# see http://www.apache.org/info/three-config-files.htmlResourceConfig /dev/nullAccessConfig /dev/null# it's always nice to know the server has startedErrorLog logs/error_log# Some benchmarks require logging, which is a good requirement.  Uncomment# this if you need logging.#TransferLog logs/access_log# Disable symlink protection and htaccess files, they chew far too much.<Directory />    AllowOverride none    Options FollowSymLinks    # If this was a real internet server you'd probably want to    # uncomment these:    #order deny,allow    #deny from all</Directory># If this was a real internet server you'd probably want to uncomment this:#<Directory "@@ServerRoot@@/htdocs">#    order allow,deny#    allow from all#</Directory># OK that's enough hints.  Read the documentation if you want more.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?