Annotation of doc/build/confexamples/access.conf, revision 1.2
1.1 harris41 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 FollowSymLinks Indexes
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 Indexes
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:
128: PerlSetVar lonHostID morphyl1
129:
130: # Role of this machine: library, access
131:
132: PerlSetVar lonRole library
133:
134: # Server Administration
135:
136: PerlSetVar lonAdmEMail sherbert@morphy.edu
137:
138: # Default domain
139:
140: PerlSetVar lonDefDomain morphy
141:
142: # Load Limit ( 100% loadavg )
143:
144: PerlSetVar lonLoadLim 2.00
145:
146: # Expiration for local copies and tokens in seconds
147:
148: PerlSetVar lonExpire 86400
149:
150: # Key to issue receipts
151:
152: PerlSetVar lonReceipt swkeuhkwn13487
153:
154: # Key to handle SQL access
155:
156: PerlSetVar lonSqlAccess 123
157:
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
1.2 ! harris41 165: PerlSetVar lonSysEMail korte@lite.msu.edu
1.1 harris41 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
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
171:
172: # ------------------------------------------------------------ Perl Information
173:
174: PerlRequire conf/startup.pl
175: PerlFreshRestart On
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>