File:  [LON-CAPA] / loncom / Attic / access.conf
Revision 1.29: download - view: text, annotated - select for diffs
Thu Feb 28 18:10:37 2002 UTC (22 years, 2 months ago) by harris41
Branches: MAIN
CVS tags: version_0_4, stable_2002_july, stable_2002_april, STABLE, HEAD
these values are now in loncapa.conf (note that perlsetvar etc is still
in access.conf to keep everything stable)

    1: ## modified for LearningOnline Network
    2: ## Gerd Kortemeyer
    3: ##
    4: ## 7/8,7/10,7/14,11/22,01/06,01/20,01/21,5/29,5/31,7/1,7/10,8/22,8/29
    5: ##
    6: ## Scott Harrison
    7: ##
    8: ## 9/21,9/23
    9: ##
   10: ## Gerd Kortemeyer
   11: ##
   12: ## 10/3,10/5,10/12,10/16,10/20,11/2,11/6,11/10,11/20,11/23,11/28,12/06,12/19,
   13: ## 12/26,3/1/1
   14: ##
   15: ## Scott Harrison
   16: ##
   17: ## 03/20/2001
   18: ##
   19: ## access.conf -- Apache HTTP server configuration file
   20: ##
   21: 
   22: # access.conf: Global access configuration
   23: # Online docs at http://www.apache.org/
   24: 
   25: # This file defines server settings which affect which types of services
   26: # are allowed, and in what circumstances. 
   27: 
   28: # Each directory to which Apache has access, can be configured with respect
   29: # to which services and features are allowed and/or disabled in that
   30: # directory (and its subdirectories). 
   31: 
   32: # Originally by Rob McCool
   33: 
   34: # First, we configure the "default" to be a very restrictive set of 
   35: # permissions.  
   36: 
   37: <Directory />
   38: Options None
   39: AllowOverride None
   40: </Directory>
   41: 
   42: # Note that from this point forward you must specifically allow
   43: # particular features to be enabled - so if something's not working as
   44: # you might expect, make sure that you have specifically enabled it
   45: # below.
   46: 
   47: # This should be changed to whatever you set DocumentRoot to.
   48: 
   49: <Directory /home/httpd/html>
   50: 
   51: # This may also be "None", "All", or any combination of "Indexes",
   52: # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
   53: 
   54: # Note that "MultiViews" must be named *explicitly* --- "Options All"
   55: # doesn't give it to you.
   56: 
   57: Options Includes FollowSymLinks
   58: 
   59: # This controls which options the .htaccess files in directories can
   60: # override. Can also be "All", or any combination of "Options", "FileInfo", 
   61: # "AuthConfig", and "Limit"
   62: 
   63: AllowOverride None
   64: 
   65: # Controls who can get stuff from this server.
   66: 
   67: order allow,deny
   68: allow from all
   69: 
   70: </Directory>
   71: 
   72: # /home/httpd/cgi-bin should be changed to whatever your ScriptAliased
   73: # CGI directory exists, if you have that configured.
   74: 
   75: <Directory /home/httpd/cgi-bin>
   76: AllowOverride None
   77: Options ExecCGI
   78: </Directory>
   79: 
   80: # Allow access to local system documentation from localhost
   81: Alias /doc /usr/doc
   82: <Directory /usr/doc>
   83: order deny,allow
   84: deny from all
   85: allow from localhost
   86: Options Indexes FollowSymLinks
   87: </Directory>
   88: 
   89: # There have been reports of people trying to abuse an old bug from pre-1.1
   90: # days.  This bug involved a CGI script distributed as a part of Apache.
   91: # By uncommenting these lines you can redirect these attacks to a logging 
   92: # script on phf.apache.org.  Or, you can record them yourself, using the script
   93: # support/phf_abuse_log.cgi.
   94: 
   95: #<Location /cgi-bin/phf*>
   96: #deny from all
   97: #ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
   98: #</Location>
   99: 
  100: # You may place any other directories or locations you wish to have
  101: # access information for after this one.
  102: 
  103: 
  104: # ------------------------------------------------------------ Machine Specific
  105: #
  106: # The variable values are also read and shared by lond
  107: 
  108: # LON-internal HostID of this machine
  109: 
  110: PerlSetVar       lonHostID    {[[[[lonHostID]]]]}
  111:  
  112: # Role of this machine: library, access
  113: 
  114: PerlSetVar       lonRole      {[[[[lonRole]]]]}
  115: 
  116: # Server Administration
  117: 
  118: PerlSetVar       lonAdmEMail  {[[[[lonAdmEMail]]]]}
  119: 
  120: # Default domain
  121: 
  122: PerlSetVar       lonDefDomain {[[[[lonDefDomain]]]]}
  123: 
  124: # Load Limit ( 100% loadavg )
  125: 
  126: PerlSetVar       lonLoadLim   {[[[[lonLoadLim]]]]}
  127: 
  128: # Expiration for local copies and tokens in seconds
  129: 
  130: PerlSetVar       lonExpire    {[[[[lonExpire]]]]}
  131: 
  132: # Key to issue receipts
  133:  
  134: PerlSetVar	 lonReceipt   {[[[[lonReceipt]]]]}
  135: 
  136: # Key to handle SQL access
  137:  
  138: PerlSetVar	 lonSqlAccess   {[[[[lonSqlAccess]]]]}
  139: 
  140: # ----------------------------------------------------------- Internal Settings
  141: 
  142: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
  143: PerlSetVar       lonTabDir    /home/httpd/lonTabs
  144: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
  145: PerlSetVar       lonIconsURL  /adm/lonIcons
  146: PerlSetVar       londPort     5663
  147: PerlSetVar       lonSysEMail  korte@lite.msu.edu
  148: PerlSetVar       lonDaemons   /home/httpd/perl
  149: PerlSetVar       lonSockDir   /home/httpd/sockets
  150: PerlSetVar       lonDocRoot   /home/httpd/html
  151: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
  152: PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1
  153: 
  154: # ------------------------------------------------------------ Perl Information
  155: 
  156: PerlRequire      conf/startup.pl
  157: PerlFreshRestart On

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>