--- loncom/Attic/srm.conf 2001/01/31 18:33:00 1.4
+++ loncom/Attic/srm.conf 2001/12/07 21:53:53 1.28
@@ -1,6 +1,10 @@
##
## srm.conf -- Apache HTTP server configuration file
##
+#
+# configured for LON-CAPA
+#
+# $Id: srm.conf,v 1.28 2001/12/07 21:53:53 harris41 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
@@ -146,6 +150,9 @@ LanguagePriority en fr de
Alias /icons/ /home/httpd/icons/
+# needed for lonprintout.pm
+Alias /prtspool/ /home/httpd/prtspool/
+
# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname
@@ -289,7 +296,6 @@ ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/unauthorized.html
ErrorDocument 500 /adm/errorhandler
-Options Indexes
AllowOverride None
@@ -310,14 +316,22 @@ SetHandler perl-script
PerlHandler Apache::lonratsrv
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonratparms
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
# --------------------------------------------- Resource Space Content Handlers
-
+
SetHandler perl-script
PerlHandler Apache::lonindexer
-
+
SetHandler perl-script
PerlHandler Apache::lontex
@@ -337,18 +351,34 @@ SetHandler perl-script
PerlHandler Apache::lonmeta
-
+
SetHandler perl-script
PerlHandler Apache::lonxml
-
+
SetHandler perl-script
PerlHandler Apache::lonhomework
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonwrapper
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
# -------------------------------------------------------------- Admin Programs
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonstatistics
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -424,6 +454,33 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::grades
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::loncreatecourse
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::loncreateuser
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -434,6 +491,66 @@ ErrorDocument 406 /adm/unauthorized.
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::loncacc
+SetHandler perl-script
+PerlHandler Apache::lonpubdir
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+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
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonretrieve
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+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
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::londiff
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonupload
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -479,14 +596,6 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
-
-PerlAccessHandler Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::lonmydesk
-ErrorDocument 403 /adm/login
-ErrorDocument 500 /adm/errorhandler
-
-
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -553,12 +662,34 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::groupsort
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
SetHandler perl-script
PerlHandler Apache::lonerrorhandler
-# --------------------------------------------------------------- Backdoor Test
+# ------------------------------------------------- Backdoor Adm Tests/Programs
+
+
+AuthName "LON Network Synchronization Handler"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user lonadm
+
+
+
+AuthName "LON Keyword Handler"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user lonadm
+
AuthName "LON Test Handler"
@@ -569,3 +700,7 @@ SetHandler perl-script
PerlAccessHandler Apache::lonacc
PerlHandler Apache::lontest
+
+# ------------------------------------------------------- Shutting down a child
+
+PerlChildExitHandler Apache::lonnet::goodbye