apache httpd ab SSL not compiled in; no https support

php 发表于 2017/9/24 12:41 | 显示全部楼层 |阅读模式
SSL not compiled in; no https support
使用Apache自带的工具ab进行压力测试时出现了SSL not compiled in; no https support的错误。使用abs代替ab即可。
  1. Usage: ab [options] [http://]hostname[:port]/path
  2. Options are:
  3.     -n requests     Number of requests to perform
  4.     -c concurrency  Number of multiple requests to make at a time
  5.     -t timelimit    Seconds to max. to spend on benchmarking
  6.                     This implies -n 50000
  7.     -s timeout      Seconds to max. wait for each response
  8.                     Default is 30 seconds
  9.     -b windowsize   Size of TCP send/receive buffer, in bytes
  10.     -B address      Address to bind to when making outgoing connections
  11.     -p postfile     File containing data to POST. Remember also to set -T
  12.     -u putfile      File containing data to PUT. Remember also to set -T
  13.     -T content-type Content-type header to use for POST/PUT data, eg.
  14.                     'application/x-www-form-urlencoded'
  15.                     Default is 'text/plain'
  16.     -v verbosity    How much troubleshooting info to print
  17.     -w              Print out results in HTML tables
  18.     -i              Use HEAD instead of GET
  19.     -x attributes   String to insert as table attributes
  20.     -y attributes   String to insert as tr attributes
  21.     -z attributes   String to insert as td or th attributes
  22.     -C attribute    Add cookie, eg. 'Apache=1234'. (repeatable)
  23.     -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: gzip'
  24.                     Inserted after all normal header lines. (repeatable)
  25.     -A attribute    Add Basic WWW Authentication, the attributes
  26.                     are a colon separated username and password.
  27.     -P attribute    Add Basic Proxy Authentication, the attributes
  28.                     are a colon separated username and password.
  29.     -X proxy:port   Proxyserver and port number to use
  30.     -V              Print version number and exit
  31.     -k              Use HTTP KeepAlive feature
  32.     -d              Do not show percentiles served table.
  33.     -S              Do not show confidence estimators and warnings.
  34.     -q              Do not show progress when doing more than 150 requests
  35.     -l              Accept variable document length (use this for dynamic pages)

  36.     -g filename     Output collected data to gnuplot format file.
  37.     -e filename     Output CSV file with percentages served
  38.     -r              Don't exit on socket receive errors.
  39.     -m method       Method name
  40.     -h              Display usage information (this message)
复制代码
  1. Usage: abs [options] [http[s]://]hostname[:port]/path
  2. Options are:
  3.     -n requests     Number of requests to perform
  4.     -c concurrency  Number of multiple requests to make at a time
  5.     -t timelimit    Seconds to max. to spend on benchmarking
  6.                     This implies -n 50000
  7.     -s timeout      Seconds to max. wait for each response
  8.                     Default is 30 seconds
  9.     -b windowsize   Size of TCP send/receive buffer, in bytes
  10.     -B address      Address to bind to when making outgoing connections
  11.     -p postfile     File containing data to POST. Remember also to set -T
  12.     -u putfile      File containing data to PUT. Remember also to set -T
  13.     -T content-type Content-type header to use for POST/PUT data, eg.
  14.                     'application/x-www-form-urlencoded'
  15.                     Default is 'text/plain'
  16.     -v verbosity    How much troubleshooting info to print
  17.     -w              Print out results in HTML tables
  18.     -i              Use HEAD instead of GET
  19.     -x attributes   String to insert as table attributes
  20.     -y attributes   String to insert as tr attributes
  21.     -z attributes   String to insert as td or th attributes
  22.     -C attribute    Add cookie, eg. 'Apache=1234'. (repeatable)
  23.     -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: gzip'
  24.                     Inserted after all normal header lines. (repeatable)
  25.     -A attribute    Add Basic WWW Authentication, the attributes
  26.                     are a colon separated username and password.
  27.     -P attribute    Add Basic Proxy Authentication, the attributes
  28.                     are a colon separated username and password.
  29.     -X proxy:port   Proxyserver and port number to use
  30.     -V              Print version number and exit
  31.     -k              Use HTTP KeepAlive feature
  32.     -d              Do not show percentiles served table.
  33.     -S              Do not show confidence estimators and warnings.
  34.     -q              Do not show progress when doing more than 150 requests
  35.     -l              Accept variable document length (use this for dynamic pages)

  36.     -g filename     Output collected data to gnuplot format file.
  37.     -e filename     Output CSV file with percentages served
  38.     -r              Don't exit on socket receive errors.
  39.     -m method       Method name
  40.     -h              Display usage information (this message)
  41.     -I              Disable TLS Server Name Indication (SNI) extension
  42.     -Z ciphersuite  Specify SSL/TLS cipher suite (See openssl ciphers)
  43.     -f protocol     Specify SSL/TLS protocol
  44.                     (SSL2, TLS1, TLS1.1, TLS1.2 or ALL)
复制代码

手机版|轻松E站

E-mail: OHCC@163.COM

快速回复 返回顶部 返回列表