--- loncom/loncapa_apache.conf 2003/03/14 02:26:12 1.39
+++ loncom/loncapa_apache.conf 2004/01/15 20:22:47 1.71
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.39 2003/03/14 02:26:12 www Exp $
+## $Id: loncapa_apache.conf,v 1.71 2004/01/15 20:22:47 www Exp $
##
#
@@ -19,13 +19,17 @@ Group www
# ======================================================= Shared Object Modules
LoadModule perl_module modules/libperl.so
+
AddModule mod_perl.c
+
+
+PerlSetVar MODPERL2 1
+
# =============================================================== Miscellaneous
ServerAdmin korte@lite.msu.edu
ExtendedStatus On
-
#
# LON-CAPA Section (extensions to srm.conf name space servicing)
#
@@ -39,7 +43,11 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
# ------------------------------------------------------------- Access Handlers
PerlTransHandler Apache::lontrans
+
+PerlCleanupHandler Apache::lonnet::cleanenv
+
+#PerlWarn On
PerlAccessHandler Apache::lonacc
PerlHeaderParserHandler Apache::lonrep
@@ -51,6 +59,7 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lontokacc
+PerlCleanupHandler Apache::lontokacc::removefile
@@ -59,7 +68,7 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsyllabus
@@ -67,27 +76,39 @@ 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
@@ -114,6 +135,16 @@ 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
@@ -148,43 +179,51 @@ ErrorDocument 500 /adm/errorhandler
# --------------------------------------------- Resource Space Content Handlers
-
+
SetHandler perl-script
PerlHandler Apache::lonindexer
PerlCleanupHandler Apache::lonindexer::cleanup
-
+
SetHandler perl-script
PerlHandler Apache::lontex
-
+
SetHandler perl-script
PerlHandler Apache::lonpage
-
+
SetHandler perl-script
PerlHandler Apache::lonsequence
-
+
SetHandler perl-script
PerlHandler Apache::lonmeta
-
+
+SetHandler perl-script
+PerlAccessHandler Apache::lonacc
+PerlHandler Apache::lonmeta
+
+
+
+
+
SetHandler perl-script
PerlHandler Apache::lonrights
-
+
SetHandler perl-script
PerlHandler Apache::lonxml
-
+
SetHandler perl-script
PerlHandler Apache::lonhomework
@@ -197,6 +236,14 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonlocal
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
# -------------------------------------------------------------- Admin Programs
@@ -207,6 +254,14 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::imagechoice
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -232,6 +287,14 @@ 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
@@ -240,6 +303,14 @@ 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
@@ -336,6 +407,15 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonmodifycourse
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -355,7 +435,7 @@ ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::loncacc
SetHandler perl-script
PerlHandler Apache::lonpubdir
@@ -463,6 +543,24 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpopulate
+ErrorDocument 403 /adm/login
+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
@@ -483,8 +581,8 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
-PerlCleanupHandler Apache::coursedocs::untiehash
PerlHandler Apache::londocs
+ PerlCleanupHandler Apache::londocs::untiehash
ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
@@ -559,7 +657,6 @@ ErrorDocument 500 /adm/errorhandler
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonnavmaps
-PerlCleanupHandler Apache::lonnavmaps::cleanup
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
@@ -589,6 +686,7 @@ PerlHandler Apache::lonerrorhandler
+PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelp
@@ -637,6 +735,20 @@ AuthUserFile /home/httpd/lonTabs/htpassw
require user reaper
+
+AuthName "Offline"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user offline
+
+
+
+AuthName "Offline"
+AuthType Basic
+AuthUserFile /home/httpd/lonTabs/htpasswd
+require user offline
+
+
AuthName "LON-CAPA Network Administration"
AuthType Basic
@@ -710,6 +822,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
@@ -722,7 +835,10 @@ PerlSetVar lonDocRoot /home/http
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
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
+PerlSetVar BugzillaHost http://bugs.lon-capa.org/
+PerlSetVar FAQHost http://help.lon-capa.org/
# -----------------------------------------------------------------------------
# NOTE: lonSqlAccess key is the password for the MySQL user
# www@localhost. This value must always be "localhostkey".
@@ -743,7 +859,13 @@ PerlSetVar lonhttpdPort 8080
Include conf/loncapa.conf
+# ================================================= Include local configuration
+
+Include conf/loncapa_apache_local*.conf
+
# ================================================== Initiate mod_perl starting
PerlRequire conf/startup.pl
+
PerlFreshRestart On
+