home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 12 / Silicon_Graphics_Developer_Magic_Soft_Dev_812-8101-012.iso / .all / httpd_ncsa / conf / httpd.tmpl < prev    next >
Encoding:
Text File  |  1995-11-10  |  3.0 KB  |  100 lines

  1. # This is the main server configuration file. It is best to 
  2. # leave the directives in this file in the order they are in, or
  3. # things may not go the way you'd like. See URL http://hoohoo.ncsa.uiuc.edu/
  4. # for instructions.
  5.  
  6. # Do NOT simply read the instructions in here without understanding
  7. # what they do, if you are unsure consult the online docs. You have been
  8. # warned.  
  9.  
  10. # NCSA httpd (comments, questions to httpd@ncsa.uiuc.edu)
  11.  
  12. # ServerType is either inetd, or standalone.
  13.  
  14. ServerType standalone
  15.  
  16. # If you are running from inetd, go to "ServerAdmin".
  17.  
  18. # Port: The port the standalone listens to. For ports < 1023, you will
  19. # need httpd to be run as root initially.
  20.  
  21. # (nick) Need to change this to whatever variable Joe puts in the script.
  22.  
  23. Port $NCSAPORT
  24.  
  25. # StartServers: The number of servers to launch at startup.  Must be
  26. # compiled without the NO_PASS compile option
  27.  
  28. StartServers 5
  29.  
  30. # MaxServers: The number of servers to launch until mimic'ing the 1.3
  31. # scheme (new server for each connection).  These servers will stay around
  32. # until the server is restarted.  They will be reused as needed, however.
  33. # See the documentation on hoohoo.ncsa.uiuc.edu for more information.
  34.  
  35. MaxServers 20
  36.  
  37. # If you wish httpd to run as a different user or group, you must run
  38. # httpd as root initially and it will switch.  
  39.  
  40. # User/Group: The name (or #number) of the user/group to run httpd as.
  41.  
  42. User root
  43. Group sys 
  44.  
  45. # ServerAdmin: Your address, where problems with the server should be
  46. # e-mailed.
  47.  
  48. ServerAdmin root@localhost
  49.  
  50. # ServerRoot: The directory the server's config, error, and log files
  51. # are kept in
  52.  
  53. # (nick) Or change this to a environmental variable so no overwriting occurs.
  54.  
  55. #ServerRoot $WEBFORCEDIR/bin/httpd_ncsa/
  56. ServerRoot $TMPDIRECTORY/
  57.  
  58. # ErrorLog: The location of the error log file. If this does not start
  59. # with /, ServerRoot is prepended to it.
  60.  
  61. ErrorLog  elog
  62.  
  63. # TransferLog: The location of the transfer log file. If this does not
  64. # start with /, ServerRoot is prepended to it.
  65.  
  66. TransferLog tlog 
  67.  
  68. # AgentLog: The location of the agent log file.  If this does not start
  69. # with /, ServerRoot is prepended to it.
  70.  
  71. AgentLog alog 
  72.  
  73. # RefererLog: The location of the referer log file.  If this does not
  74. # start with /, ServerRoot is prepended to it.
  75.  
  76. RefererLog reflog 
  77.  
  78. # RefererIgnore: If you don't want to keep track of links from certain
  79. # servers (like your own), place it here.  If you want to log them all,
  80. # keep this line commented.
  81.  
  82. #RefererIgnore servername
  83.  
  84. # PidFile: The file the server should log its pid to
  85. #
  86. # (nick) again, we might want to change the httpd to an environmental
  87. #    variable so there are no possible conflicts.
  88.  
  89. PidFile $TMPDIRECTORY/httpd_ncsa.pid
  90.  
  91. # ServerName allows you to set a host name which is sent back to clients for
  92. # your server if it's different than the one the program would get (i.e. use
  93. # "www" instead of the host's real name).
  94. #
  95. # Note: You cannot just invent host names and hope they work. The name you 
  96. # define here must be a valid DNS name for your host. If you don't understand
  97. # this, ask your network administrator.
  98.  
  99. #ServerName new.host.name
  100.