--- loncom/loncapa_apache.conf 2006/07/07 22:00:49 1.146
+++ loncom/loncapa_apache.conf 2008/02/24 23:41:00 1.171
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.146 2006/07/07 22:00:49 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.171 2008/02/24 23:41:00 raeburn Exp $
##
#
@@ -35,6 +35,7 @@ ExtendedStatus On
#
# ===================================================================== Aliases
+Alias /zipspool/ /home/httpd/zipspool/
Alias /prtspool/ /home/httpd/prtspool/
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
@@ -120,7 +121,9 @@ ErrorDocument 500 /adm/errorhandler
-PerlAuthzHandler Apache::lonuploadedacc
+PerlAuthenHandler Apache::lonuploadedacc
+PerlAuthzHandler Apache::lonuploadedacc::skip_phase
+PerlAccessHandler Apache::lonuploadedacc::skip_phase
@@ -180,6 +183,18 @@ ErrorDocument 406 /adm/notinit.html
ErrorDocument 500 /adm/errorhandler
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonaboutme
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/notinit.html
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -243,7 +258,6 @@ ErrorDocument 500 /adm/errorhandler
AuthType LONCAPA
Require valid-user
-PerlAccessHandler Apache::publiccheck
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelper
@@ -263,6 +277,17 @@ ErrorDocument 406 /adm/roles
ErrorDocument 413 /adm/overloaded.txt
ErrorDocument 500 /adm/errorhandler
+
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+ErrorDocument 403 /adm/login
+ErrorDocument 404 /adm/notfound.html
+ErrorDocument 406 /adm/roles
+ErrorDocument 413 /adm/overloaded.txt
+ErrorDocument 500 /adm/errorhandler
+
# ------------------------------------------------------------------------- RAT
@@ -493,6 +518,26 @@ SetHandler perl-script
PerlHandler Apache::lonlogin
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+SetHandler perl-script
+PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::restrictedaccess
+ErrorDocument 500 /adm/errorhandler
+
+
+
+PerlAccessHandler Apache::publiccheck
+AuthType LONCAPA
+Require valid-user
+SetHandler perl-script
+PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::blockedaccess
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -500,6 +545,7 @@ PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonlogout
ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
@@ -509,6 +555,7 @@ PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::switchserver
ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
@@ -662,6 +709,17 @@ ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::domainprefs
+ErrorDocument 403 /adm/login
+ErrorDocument 406 /adm/roles
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -773,6 +831,7 @@ AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
+PerlHandler Apache::londatecheck
PerlHandler Apache::lonupload
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
@@ -1058,7 +1117,7 @@ AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
-PerlHandler Apache::lonnavmaps
+PerlHandler Apache::lonnavdisplay
ErrorDocument 403 /adm/login
ErrorDocument 406 /adm/roles
ErrorDocument 500 /adm/errorhandler
@@ -1095,9 +1154,11 @@ PerlHandler Apache::lonerrorhandler
AuthType LONCAPA
Require valid-user
+PerlAccessHandler Apache::publiccheck
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelp
+ErrorDocument 500 /adm/errorhandler
@@ -1106,6 +1167,7 @@ Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonhelpmenu
+ErrorDocument 500 /adm/errorhandler
@@ -1114,16 +1176,43 @@ Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonsupportreq
+ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::lonsupportreq
+ErrorDocument 500 /adm/errorhandler
SetHandler perl-script
PerlHandler Apache::loncss
+ErrorDocument 500 /adm/errorhandler
+
+
+
+SetHandler perl-script
+PerlHandler Apache::coursecatalog
+ErrorDocument 500 /adm/errorhandler
+
+
+
+SetHandler perl-script
+PerlHandler Apache::resetpw
+ErrorDocument 500 /adm/errorhandler
+
+
+
+SetHandler perl-script
+PerlHandler Apache::createaccount
+ErrorDocument 500 /adm/errorhandler
+
+
+
+SetHandler perl-script
+PerlHandler Apache::londns
+ErrorDocument 500 /adm/errorhandler
# ------------------------------------------------- Backdoor Adm Tests/Programs
@@ -1208,6 +1297,26 @@ PerlChildExitHandler Apache::lonacc::goo
Options None
AllowOverride None
+order deny,allow
+deny from all
+
+
+# Allow uploaded files to be served
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
+# Allow construction space files to be served
+
+
+Options Includes FollowSymLinks
+AllowOverride
+order allow,deny
+allow from all
# Yes to symbolic links and server-side includes
@@ -1223,7 +1332,27 @@ allow from all
AllowOverride None
-Options ExecCGI
+Options ExecCGI FollowSymLinks
+order allow,deny
+allow from all
+
+
+# Allow serving of files in prtspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
+# Allow serving of files in zipspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
# ============================================================= Access Handlers
@@ -1266,10 +1395,13 @@ PerlSetVar londPort 5663
PerlSetVar lonSysEMail korte@lite.msu.edu
PerlSetVar lonDaemons /home/httpd/perl
PerlSetVar lonSockDir /home/httpd/sockets
+PerlSetVar lonSockCreate /home/httpd/sockets/common
PerlSetVar lonDocRoot /home/httpd/html
PerlSetVar lonPrtDir /home/httpd/prtspool
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
-# & sepeareted list of : seperated fileds inorder of
+PerlSetVar lonZipDir /home/httpd/zipspool
+PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
+# & separated list of : separated fields in order of
# - internal name to call it,
# - regexp that it should match (done case-insensitively)
# - regexp that is should not match (done case-insensitively)