Annotation of loncom/access.conf, revision 1.24

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

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