Annotation of loncom/access.conf, revision 1.25

1.1       harris41    1: ## modified for LearningOnline Network
                      2: ## Gerd Kortemeyer
                      3: ##
1.4       www         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
1.1       harris41    5: ##
1.6       harris41    6: ## Scott Harrison
                      7: ##
                      8: ## 9/21,9/23
                      9: ##
1.7       www        10: ## Gerd Kortemeyer
                     11: ##
1.23      www        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,
1.24      www        13: ## 12/26,3/1/1
1.7       www        14: ##
1.25    ! harris41   15: ## Scott Harrison
        !            16: ##
        !            17: ## 03/20/2001
        !            18: ##
1.1       harris41   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 server status reports, with the URL of http://servername/server-status
                     81: # Change the ".your_domain.com" to match your domain to enable.
                     82: 
                     83: <Location /server-status>
                     84: SetHandler server-status
                     85: AuthName "HTTPD Server Status"
                     86: AuthType Basic
                     87: AuthUserFile /home/httpd/lonTabs/htpasswd
                     88: require user lonadm
                     89: </Location>
                     90: 
                     91: <Location /lon-status>
                     92: AuthName "LON Server Status"
                     93: AuthType Basic
                     94: AuthUserFile /home/httpd/lonTabs/htpasswd
                     95: require user lonadm
                     96: </Location>
                     97: 
                     98: # Allow access to local system documentation from localhost
                     99: Alias /doc /usr/doc
                    100: <Directory /usr/doc>
                    101: order deny,allow
                    102: deny from all
                    103: allow from localhost
                    104: Options Indexes FollowSymLinks
                    105: </Directory>
                    106: 
                    107: # There have been reports of people trying to abuse an old bug from pre-1.1
                    108: # days.  This bug involved a CGI script distributed as a part of Apache.
                    109: # By uncommenting these lines you can redirect these attacks to a logging 
                    110: # script on phf.apache.org.  Or, you can record them yourself, using the script
                    111: # support/phf_abuse_log.cgi.
                    112: 
                    113: #<Location /cgi-bin/phf*>
                    114: #deny from all
                    115: #ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
                    116: #</Location>
                    117: 
                    118: # You may place any other directories or locations you wish to have
                    119: # access information for after this one.
                    120: 
                    121: 
                    122: # ------------------------------------------------------------ Machine Specific
                    123: #
                    124: # The variable values are also read and shared by lond
                    125: 
                    126: # LON-internal HostID of this machine
                    127: 
1.5       harris41  128: PerlSetVar       lonHostID    {[[[[lonHostID]]]]}
1.1       harris41  129:  
                    130: # Role of this machine: library, access
                    131: 
1.5       harris41  132: PerlSetVar       lonRole      {[[[[lonRole]]]]}
1.1       harris41  133: 
                    134: # Server Administration
                    135: 
1.5       harris41  136: PerlSetVar       lonAdmEMail  {[[[[lonAdmEMail]]]]}
1.1       harris41  137: 
                    138: # Default domain
                    139: 
1.5       harris41  140: PerlSetVar       lonDefDomain {[[[[lonDefDomain]]]]}
1.1       harris41  141: 
                    142: # Load Limit ( 100% loadavg )
                    143: 
1.5       harris41  144: PerlSetVar       lonLoadLim   {[[[[lonLoadLim]]]]}
1.1       harris41  145: 
1.16      www       146: # Expiration for local copies and tokens in seconds
1.1       harris41  147: 
1.5       harris41  148: PerlSetVar       lonExpire    {[[[[lonExpire]]]]}
1.1       harris41  149: 
1.21      www       150: # Key to issue receipts
                    151:  
                    152: PerlSetVar	 lonReceipt   {[[[[lonReceipt]]]]}
1.25    ! harris41  153: 
        !           154: # Key to handle SQL access
        !           155:  
        !           156: PerlSetVar	 lonSqlAccess   {[[[[lonSqlAccess]]]]}
1.21      www       157: 
1.1       harris41  158: # ----------------------------------------------------------- Internal Settings
                    159: 
                    160: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    161: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    162: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    163: PerlSetVar       lonIconsURL  /adm/lonIcons
                    164: PerlSetVar       londPort     5663
                    165: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    166: PerlSetVar       lonDaemons   /home/httpd/perl
                    167: PerlSetVar       lonSockDir   /home/httpd/sockets
                    168: PerlSetVar       lonDocRoot   /home/httpd/html
                    169: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.2       www       170: PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:5.1&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:5&amaya:amaya:mozilla:V(\d+\.\d+)\s:1
1.1       harris41  171: 
                    172: # ------------------------------------------------------------ Perl Information
                    173: 
                    174: PerlRequire      conf/startup.pl
                    175: PerlFreshRestart On

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