--- loncom/loncapa_apache.conf 2002/09/16 20:38:46 1.20
+++ loncom/loncapa_apache.conf 2003/08/25 17:20:09 1.60
@@ -1,13 +1,8 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.20 2002/09/16 20:38:46 www Exp $
+## $Id: loncapa_apache.conf,v 1.60 2003/08/25 17:20:09 albertel Exp $
##
-## 1/11/2002 - Scott Harrison
-## 2/19/2002 - Scott Harrison
-## 2/28/2002 - Scott Harrison
-## 3/2/2002 - Scott Harrison
-## 5/12/2002 - Scott Harrison
#
# LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -24,13 +19,14 @@ Group www
# ======================================================= Shared Object Modules
LoadModule perl_module modules/libperl.so
+
AddModule mod_perl.c
+
# =============================================================== Miscellaneous
ServerAdmin korte@lite.msu.edu
ExtendedStatus On
-
#
# LON-CAPA Section (extensions to srm.conf name space servicing)
#
@@ -44,8 +40,12 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
# ------------------------------------------------------------- Access Handlers
PerlTransHandler Apache::lontrans
+
+PerlCleanupHandler Apache::lonnet::cleanenv
+
-
+#PerlWarn On
+
PerlAccessHandler Apache::lonacc
PerlHeaderParserHandler Apache::lonrep
ErrorDocument 403 /adm/login
@@ -54,17 +54,18 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lontokacc
+PerlCleanupHandler Apache::lontokacc::removefile
-
+
PerlAccessHandler Apache::lonuploadedacc
ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsyllabus
@@ -72,31 +73,43 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonaboutme
ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsimplepage
ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonbulletin
ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
-
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonsimpleproblemedit
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
PerlAccessHandler Apache::loncacc
SetHandler perl-script
PerlHandler Apache::lonconstruct
@@ -106,11 +119,11 @@ ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonracc
-
+
PerlAccessHandler Apache::loncacc
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
@@ -119,6 +132,23 @@ ErrorDocument 500 /adm/errorhandler
AllowOverride None
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonhelper
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/unauthorized
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
# ------------------------------------------------------------------------- RAT
@@ -149,6 +179,7 @@ ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::lonindexer
+PerlCleanupHandler Apache::lonindexer::cleanup
@@ -166,12 +197,17 @@ SetHandler perl-script
PerlHandler Apache::lonsequence
-
+
SetHandler perl-script
PerlHandler Apache::lonmeta
-
+
+SetHandler perl-script
+PerlHandler Apache::lonrights
+
+
+
SetHandler perl-script
PerlHandler Apache::lonxml
@@ -191,6 +227,14 @@ ErrorDocument 500 /adm/errorhandler
# -------------------------------------------------------------- Admin Programs
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::randomlylabel
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -208,6 +252,38 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonmenu
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonremote
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickstudent
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickcourse
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
SetHandler perl-script
PerlHandler Apache::lonlogin
@@ -245,6 +321,7 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonpageflip
+PerlCleanupHandler Apache::lonpageflip::cleanup
ErrorDocument 406 /adm/roles
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -254,6 +331,7 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonambiguous
+PerlCleanupHandler Apache::lonambiguous::cleanup
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -275,6 +353,15 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonwizard
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -420,6 +507,15 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonmanagekeys
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -440,6 +536,7 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
+PerlCleanupHandler Apache::londocs::untiehash
PerlHandler Apache::londocs
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -505,6 +602,7 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsearchcat
+PerlCleanupHandler Apache::lonsearchcat::cleanup
ErrorDocument 403 /adm/login
ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -519,10 +617,20 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonquickgrades
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::groupsort
+PerlCleanupHandler Apache::groupsort::cleanup
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -546,6 +654,13 @@ AuthUserFile /home/httpd/lonTabs/htpassw
require user lonadm
+
+AuthName "LON-CAPA Network Administration"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user lonadm
+
+
AuthName "LON-CAPA Network Administration"
AuthType Basic
@@ -567,6 +682,13 @@ AuthUserFile /home/httpd/lonTabs/htpassw
require user lonadm
+
+AuthName "harvest"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user reaper
+
+
AuthName "LON-CAPA Network Administration"
AuthType Basic
@@ -640,6 +762,7 @@ Options Indexes FollowSymLinks
# ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
# ====================================== Internal Settings / Perl Configuration
+PerlSetVar lonVersion ''
PerlSetVar lonIDsDir /home/httpd/lonIDs
PerlSetVar lonTabDir /home/httpd/lonTabs
PerlSetVar lonUsersDir /home/httpd/lonUsers
@@ -650,8 +773,10 @@ PerlSetVar lonDaemons /home/http
PerlSetVar lonSockDir /home/httpd/sockets
PerlSetVar lonDocRoot /home/httpd/html
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
-PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1
-
+PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1
+PerlSetVar lonTextBrowsers opera:windows\s+ce:lynx
+PerlSetVar lonScansDir /home/httpd/scantron
+PerlSetVar lonScriptTimeout 10
# -----------------------------------------------------------------------------
# NOTE: lonSqlAccess key is the password for the MySQL user
# www@localhost. This value must always be "localhostkey".
@@ -662,6 +787,10 @@ PerlSetVar lonBrowsDet netscape:m
PerlSetVar lonSqlAccess localhostkey
# -----------------------------------------------------------------------------
+# lonttpdPort is the port used by the lightweight graphics httpd server
+# not the main Apache server
+PerlSetVar lonhttpdPort 8080
+
# ====================================== Include machine-specific configuration
@@ -671,4 +800,6 @@ Include conf/loncapa.conf
# ================================================== Initiate mod_perl starting
PerlRequire conf/startup.pl
+
PerlFreshRestart On
+