File:  [LON-CAPA] / doc / install / linux / debian-ubuntu / status.conf
Revision 1.1: download - view: text, annotated - select for diffs
Fri May 1 19:47:45 2020 UTC (4 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, HEAD
- Custom status.conf replaces standard file in /etc/apache2/mods-available
  for Ubuntu so access control for /server-status is set by domain config.

    1: <IfModule mod_status.c>
    2: 	# Allow server status reports generated by mod_status,
    3: 	# with the URL of http://servername/server-status
    4: 	# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
    5: 
    6: 	<Location /server-status>
    7: 		PerlAccessHandler Apache::lonstatusacc
    8: 		SetHandler server-status
    9: 		#Require local
   10: 		#Require ip 192.0.2.0/24
   11: 	</Location>
   12: 
   13: 	# Keep track of extended status information for each request
   14: 	ExtendedStatus On
   15: 
   16: 	# Determine if mod_status displays the first 63 characters of a request or
   17: 	# the last 63, assuming the request itself is greater than 63 chars.
   18: 	# Default: Off
   19: 	#SeeRequestTail On
   20: 
   21: 
   22: 	<IfModule mod_proxy.c>
   23: 		# Show Proxy LoadBalancer status in mod_status
   24: 		ProxyStatus On
   25: 	</IfModule>
   26: 
   27: 
   28: </IfModule>
   29: 
   30: # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

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