--- loncom/loncapa_apache.conf 2002/07/05 16:12:31 1.7
+++ loncom/loncapa_apache.conf 2002/09/16 20:38:46 1.20
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.7 2002/07/05 16:12:31 bowersj2 Exp $
+## $Id: loncapa_apache.conf,v 1.20 2002/09/16 20:38:46 www Exp $
##
## 1/11/2002 - Scott Harrison
## 2/19/2002 - Scott Harrison
@@ -12,7 +12,7 @@
#
# LON-CAPA Section (extensions to httpd.conf daemon configuration)
#
-# ======================================================================== User
+# ================================================================ DocumentRoot
DocumentRoot "/home/httpd/html"
@@ -37,11 +37,14 @@ ExtendedStatus On
# ===================================================================== Aliases
Alias /prtspool/ /home/httpd/prtspool/
+ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
# ================================================================= Directories
# ------------------------------------------------------------- Access Handlers
+PerlTransHandler Apache::lontrans
+
PerlAccessHandler Apache::lonacc
PerlHeaderParserHandler Apache::lonrep
@@ -51,13 +54,55 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lontokacc
+
+
+
+PerlAccessHandler Apache::lonuploadedacc
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonsyllabus
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonaboutme
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonsimplepage
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonbulletin
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::loncacc
SetHandler perl-script
PerlHandler Apache::lonconstruct
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -69,7 +114,7 @@ PerlAccessHandler Apache::lonracc
PerlAccessHandler Apache::loncacc
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
AllowOverride None
@@ -121,7 +166,7 @@ SetHandler perl-script
PerlHandler Apache::lonsequence
-
+
SetHandler perl-script
PerlHandler Apache::lonmeta
@@ -151,6 +196,7 @@ PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonstatistics
ErrorDocument 403 /adm/login
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -262,7 +308,7 @@ SetHandler perl-script
PerlHandler Apache::lonpublisher
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -272,7 +318,7 @@ SetHandler perl-script
PerlHandler Apache::lonpubdir
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -282,7 +328,16 @@ SetHandler perl-script
PerlHandler Apache::lonpubdir
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonunauthorized
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
ErrorDocument 500 /adm/errorhandler
@@ -292,7 +347,7 @@ SetHandler perl-script
PerlHandler Apache::lonretrieve
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -302,7 +357,7 @@ SetHandler perl-script
PerlHandler Apache::loncfile
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -312,7 +367,7 @@ SetHandler perl-script
PerlHandler Apache::londiff
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -322,7 +377,7 @@ SetHandler perl-script
PerlHandler Apache::lonupload
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
-ErrorDocument 406 /adm/unauthorized.html
+ErrorDocument 406 /adm/unauthorized
ErrorDocument 500 /adm/errorhandler
@@ -332,6 +387,7 @@ SetHandler perl-script
PerlHandler Apache::lonspreadsheet
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -341,6 +397,7 @@ SetHandler perl-script
PerlHandler Apache::lonspreadsheet
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -350,15 +407,7 @@ SetHandler perl-script
PerlHandler Apache::lonspreadsheet
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
-ErrorDocument 500 /adm/errorhandler
-
-
-
-PerlAccessHandler Apache::lonacc
-SetHandler perl-script
-PerlHandler Apache::lonchart
-ErrorDocument 403 /adm/login
-ErrorDocument 406 /adm/roles
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -376,6 +425,7 @@ PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonprintout
ErrorDocument 403 /adm/login
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -387,6 +437,37 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::londocs
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonannounce
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonchat
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonchatfetch
+ErrorDocument 413 /adm/overloaded.txt
+ErrorDocument 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -425,6 +506,7 @@ PerlAccessHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsearchcat
ErrorDocument 403 /adm/login
+ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
@@ -582,7 +664,7 @@ PerlSetVar lonSqlAccess localhos
# -----------------------------------------------------------------------------
-# ================================================== Initiate mod_perl starting
+# ====================================== Include machine-specific configuration
Include conf/loncapa.conf