--- loncom/loncapa_apache.conf 2002/05/12 19:11:31 1.1
+++ loncom/loncapa_apache.conf 2002/08/08 13:45:21 1.13
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.1 2002/05/12 19:11:31 harris41 Exp $
+## $Id: loncapa_apache.conf,v 1.13 2002/08/08 13:45:21 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,6 +54,16 @@ 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::loncacc
SetHandler perl-script
@@ -121,7 +134,7 @@ SetHandler perl-script
PerlHandler Apache::lonsequence
-
+
SetHandler perl-script
PerlHandler Apache::lonmeta
@@ -353,15 +366,6 @@ 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 500 /adm/errorhandler
-
-
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -387,6 +391,36 @@ 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 500 /adm/errorhandler
+
+
PerlAccessHandler Apache::lonacc
SetHandler perl-script
@@ -450,6 +484,11 @@ SetHandler perl-script
PerlHandler Apache::lonerrorhandler
+
+SetHandler perl-script
+PerlHandler Apache::lonhelp
+
+
# ------------------------------------------------- Backdoor Adm Tests/Programs
@@ -565,6 +604,22 @@ PerlSetVar lonDocRoot /home/http
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
+# -----------------------------------------------------------------------------
+# NOTE: lonSqlAccess key is the password for the MySQL user
+# www@localhost. This value must always be "localhostkey".
+# The only security risk occurs when somebody logs in as 'www' on your system
+# (in which case you have much bigger problems than whether or not they
+# can access the non-authoritative loncapa database on your machine).
+
+PerlSetVar lonSqlAccess localhostkey
+
+# -----------------------------------------------------------------------------
+
+
+# ====================================== Include machine-specific configuration
+
+Include conf/loncapa.conf
+
# ================================================== Initiate mod_perl starting
PerlRequire conf/startup.pl