--- loncom/Attic/srm.conf	2001/05/21 20:26:04	1.15
+++ loncom/Attic/srm.conf	2001/12/06 19:23:42	1.27
@@ -1,6 +1,10 @@
 ##
 ## srm.conf -- Apache HTTP server configuration file
 ##
+#
+# configured for LON-CAPA
+#
+# $Id: srm.conf,v 1.27 2001/12/06 19:23:42 www Exp $
 
 # With this document, you define the name space that users see of your http
 # server.  This file also defines server settings which affect how requests are
@@ -309,10 +313,13 @@ SetHandler perl-script
 PerlHandler Apache::lonratsrv
 </LocationMatch>
 
-<LocationMatch "^/\~.*\/ratparms$">
+<Location /adm/ratparms>
+PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
 PerlHandler Apache::lonratparms
-</LocationMatch>
+ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
+</Location>
 
 # --------------------------------------------- Resource Space Content Handlers
 
@@ -346,11 +353,19 @@ SetHandler perl-script
 PerlHandler Apache::lonxml
 </LocationMatch>
 
-<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form)$">
+<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script
 PerlHandler Apache::lonhomework
 </LocationMatch>
 
+<LocationMatch "^/adm/wrapper/">
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonwrapper
+ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
 # -------------------------------------------------------------- Admin Programs
 
 <Location /adm/statistics>
@@ -473,8 +488,8 @@ ErrorDocument     406 /adm/unauthorized.
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
-<LocationMatch "^(/\~.*/|/adm/pubdir)$">
-PerlAccessHandler       Apache::lonacc
+<LocationMatch "^/\~.*/$">
+PerlAccessHandler       Apache::loncacc
 SetHandler perl-script
 PerlHandler Apache::lonpubdir
 ErrorDocument     403 /adm/login
@@ -483,6 +498,16 @@ ErrorDocument     406 /adm/unauthorized.
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
+<Location /adm/pubdir>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpubdir
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/unauthorized.html
+ErrorDocument	  500 /adm/errorhandler
+</Location>
+
 <Location /adm/retrieve>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
@@ -493,6 +518,16 @@ ErrorDocument     406 /adm/unauthorized.
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/cfile>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::loncfile
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/unauthorized.html
+ErrorDocument	  500 /adm/errorhandler
+</Location>
+
 <Location /adm/diff>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
@@ -558,14 +593,6 @@ ErrorDocument     406 /adm/roles
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
-<Location /adm/mydesk>
-PerlAccessHandler       Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::lonmydesk
-ErrorDocument     403 /adm/login
-ErrorDocument	  500 /adm/errorhandler
-</Location>
-
 <Location /adm/printout>
 PerlAccessHandler       Apache::lonacc
 SetHandler perl-script
@@ -632,12 +659,34 @@ ErrorDocument     406 /adm/roles
 ErrorDocument	  500 /adm/errorhandler
 </Location>
 
+<Location /adm/groupsort>
+PerlAccessHandler	Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::groupsort
+ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
+</Location>
+
 <Location /adm/errorhandler>
 SetHandler perl-script
 PerlHandler Apache::lonerrorhandler
 </Location>
 
-# --------------------------------------------------------------- Backdoor Test
+# ------------------------------------------------- Backdoor Adm Tests/Programs
+
+<Location /cgi-bin/loncron.pl>
+AuthName "LON Network Synchronization Handler"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user lonadm
+</Location>
+
+<Location /cgi-bin/metadata_keywords.pl>
+AuthName "LON Keyword Handler"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user lonadm
+</Location>
 
 <Location /adm/test>
 AuthName "LON Test Handler"
@@ -648,3 +697,7 @@ SetHandler perl-script
 PerlAccessHandler Apache::lonacc
 PerlHandler Apache::lontest
 </Location>
+
+# ------------------------------------------------------- Shutting down a child
+
+PerlChildExitHandler Apache::lonnet::goodbye
\ No newline at end of file