You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/13 02:32:35 UTC

cvs commit: apache-1.3/conf highperformance.conf-dist

dgaudet     98/03/12 17:32:34

  Added:       conf     highperformance.conf-dist
  Log:
  This is a basic configuration that I've used in the past for high
  performance work.  Nothing but the basics.  I think it's an excellent
  counter-point to our kitchen-and-sink config files that are so damn
  confusing to even me... too many comments in them, too many things
  to look at.
  
  Revision  Changes    Path
  1.1                  apache-1.3/conf/highperformance.conf-dist
  
  Index: highperformance.conf-dist
  ===================================================================
  # 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 htdocs/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.conf
  
  Port 80
  ServerRoot @@ServerRoot@@
  DocumentRoot @@ServerRoot@@/htdocs
  MaxClients 150
  StartServers 5
  MinSpareServers 5
  MaxSpareServers 10
  MaxRequestsPerChild 10000000
  
  # this is a True Config File
  # see http://www.apache.org/info/three-config-files.html
  ResourceConfig /dev/null
  AccessConfig /dev/null
  
  # it's always nice to know the server has started
  ErrorLog 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.