#===========================================================================
# NCSA HTTPd (comments, questions to httpd@ncsa.uiuc.edu)
#===========================================================================
# This is the main server configuration file. It is best to 
# leave the directives in this file in the order they are in, or
# things may not go the way you'd like. See URL http://hoohoo.ncsa.uiuc.edu/
# for instructions.
# Do NOT simply read the instructions in here without understanding
# what they do, if you are unsure consult the online docs. You have been
# warned.
# Thanks to A. P. Harris for some of the organization and explanations
# contained here-in.
#===========================================================================

#===========================================================================
# Server Operation
#---------------------------------------------------------------------------
# ServerType is either inetd, or standalone.
# Set to 'inetd' to run from inetd, or 'standalone', to run as a daemon.

ServerType standalone

# If you are running from inetd, go to "ServerAdmin".

# Port: The port the standalone listens to. For ports < 1023, you will
# need HTTPd to be run as root initially.

Port 8881

# StartServers: The number of servers to launch at startup.  Must be
# compiled without the NO_PASS compile option
#
# Only start two server processes by default.  
#
StartServers 2

#
# Because server processes are not closed down after use, they remain until 
# the server is restarted, this number should be fairly small.
#
MaxServers 5

## TimeOut <seconds>
# The number of seconds the server will wait for a client to
# send its query once connected, or the maximum amount of time the
# server will spend waiting for a client to accept information.
# Default: 1200 (or DEFAULT_TIMEOUT)

TimeOut 1200

# If you wish HTTPd to run as a different user or group, you must run
# HTTPd as root initially and it will switch.  
# User/Group: The name (or #number) of the user/group to run HTTPd as.
#
# Servers should not run as a real person's user/group!  If the server is
# hacked in any way the intruder will gain access to all that person's data.
# Systems will setup a user/group just for you to run your HTTPd if you ask 
# them.
#
User terrain
Group terrain

# IdentityCheck: Enables or disables RFC931 compliant logging of the 
# remote user name for sites which run identd or something similar. 
# This information is logged in the access_log.  Note that it 
# *will* hurt responsiveness considerably, especially for non-unix clients.

#IdentityCheck On

# AssumeDigestSupport: Whether it's safe to assume that clients support 
# md5 digesting.

#AssumeDigestSupport On

#===========================================================================
# Server Customization
#---------------------------------------------------------------------------
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e. use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you 
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.

ServerName sandman.npac.syr.edu

# ServerAdmin: Your address, where problems with the server should be
# e-mailed.
# Valid within <VirtualHost>
# Default: <none> (or DEFAULT_ADMIN)

ServerAdmin alvin@nova.npac.syr.edu

#===========================================================================
# File Locations
#---------------------------------------------------------------------------
# ServerRoot: The directory the server's config, error, and log files
# are kept.
# Note: All other paths will use this as a prefix if they don't start with /

ServerRoot /home/T4F/terrain/httpd

#
# Turn off any logs you are not using by setting the logfile name to 
# /dev/null.  Remember that log files may grow very large, use a cron job to
# archive or delete these files.
#
# ErrorLog: The location of the error log file.
# TransferLog: The location of the transfer log file.
# AgentLog: The location of the agent log file.
# RefererLog: The location of the referer log file.
# PidFile: The file the server should log its pid to

ErrorLog logs/error_log
TransferLog logs/access_log
AgentLog /dev/null
RefererLog /dev/null
PidFile logs/httpd.pid

#
# There is now a default MIME type file which webmaster keeps upto date.
#
#TypesConfig /usr/npac/etc/ncsa_mime.types
TypesConfig /home/B7F/usr-npac/etc/ncsa_mime.types

# CoreDirectory:  where to dump core.

CoreDirectory /tmp

#===========================================================================
# Logging Directives
#---------------------------------------------------------------------------
# LogOptions: This determines the type of log file you are using,
# Valid options currently are:
#
# Log files are separate and the agent and referer logs are date stamped 
# like the access and error logs.

LogOptions Separate Date

# LogDirGroupWriteOk, LogDirPublicWriteOk: Define either of these if you 
# want the server to start even if you have write permissions on the log
# directory.  Having write permissions set is a potential security hole.
# Only makes a difference if the server process is started by root.

#LogDirGroupWriteOk
#LogDirPublicWriteOk

# RefererIgnore: If you don't want to keep track of links from certain
# servers (like your own), place it here.  If you want to log them all,
# keep this line commented.

#RefererIgnore #HOSTNAME#

# Don't change this.  Other options are for hardly any DNS lookup and
# double DNS lookups.
#
DNSMode Standard

#===========================================================================
# KeepAlive Directives
#---------------------------------------------------------------------------
# The directives below configure keepalive, the ability of the server
# to maintain a persistent connection with a client at the client's
# request.
# Unless you plan to use this feature I suggest leaving these as they are.
#
# KeepAliveTimeout: Length of time for a persistent connection
# MaxKeepAliveRequests: Number of persistent requests

#KeepAlive on
#KeepAliveTimeout 10
#MaxKeepAliveRequests 0

#===========================================================================
# Misc Options
#---------------------------------------------------------------------------

#ProcessName: This is the prefix for the process name if compiled with
# SETPROCTITLE.

# ProcessName httpd-#PORT#

#===========================================================================
# VirtualHost
#---------------------------------------------------------------------------
# The virtual hosting configuration has been removed as it allows multiple
# IP addresses to be mapped onto a single server.  Doing this requires
# reconfiguration of the hosting platform's network interface.
