--- loncom/loncapa_apache.conf 2003/04/02 20:28:27 1.42
+++ loncom/loncapa_apache.conf 2003/05/12 23:44:43 1.49
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.42 2003/04/02 20:28:27 www Exp $
+## $Id: loncapa_apache.conf,v 1.49 2003/05/12 23:44:43 www Exp $
##
#
@@ -18,14 +18,15 @@ Group www
# ======================================================= Shared Object Modules
-LoadModule perl_module modules/libperl.so
+LoadModule perl_module modules/mod_perl.so
+
AddModule mod_perl.c
+
# =============================================================== Miscellaneous
ServerAdmin korte@lite.msu.edu
ExtendedStatus On
-
#
# LON-CAPA Section (extensions to srm.conf name space servicing)
#
@@ -40,6 +41,7 @@ ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
PerlTransHandler Apache::lontrans
+#PerlWarn On
PerlAccessHandler Apache::lonacc
PerlHeaderParserHandler Apache::lonrep
@@ -59,7 +61,7 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsyllabus
@@ -67,7 +69,7 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonaboutme
@@ -75,7 +77,7 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsimplepage
@@ -83,7 +85,7 @@ ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
-
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonbulletin
@@ -179,7 +181,7 @@ SetHandler perl-script
PerlHandler Apache::lonsequence
-
+
SetHandler perl-script
PerlHandler Apache::lonmeta
@@ -194,7 +196,7 @@ SetHandler perl-script
PerlHandler Apache::lonxml
-
+
SetHandler perl-script
PerlHandler Apache::lonhomework
@@ -489,6 +491,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
@@ -747,7 +758,8 @@ 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
# -----------------------------------------------------------------------------
# NOTE: lonSqlAccess key is the password for the MySQL user
# www@localhost. This value must always be "localhostkey".
@@ -771,4 +783,6 @@ Include conf/loncapa.conf
# ================================================== Initiate mod_perl starting
PerlRequire conf/startup.pl
+
PerlFreshRestart On
+