--- loncom/loncapa_apache.conf 2008/02/24 23:41:00 1.171
+++ loncom/loncapa_apache.conf 2008/09/05 17:43:31 1.178
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.171 2008/02/24 23:41:00 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.178 2008/09/05 17:43:31 raeburn Exp $
##
#
@@ -37,6 +37,7 @@ ExtendedStatus On
Alias /zipspool/ /home/httpd/zipspool/
Alias /prtspool/ /home/httpd/prtspool/
+Alias /captchaspool/ /home/httpd/captchaspool/
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
# ================================================================= Directories
@@ -104,6 +105,8 @@ PerlCleanupHandler Apache::lonacc::clean
AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHeaderParserHandler Apache::lonuploadrep
ErrorDocument 403 /adm/login
ErrorDocument 404 /adm/notfound.html
@@ -200,6 +203,8 @@ AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonsimplepage
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/notinit.html
@@ -212,6 +217,7 @@ Require valid-user
PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonbulletin
ErrorDocument 404 /adm/notfound.html
ErrorDocument 406 /adm/notinit.html
@@ -369,6 +375,7 @@ PerlHandler Apache::lonrights
SetHandler perl-script
PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
PerlHandler Apache::lonxml
@@ -381,6 +388,8 @@ PerlHandler Apache::lonhomework
AuthType LONCAPA
Require valid-user
PerlAuthzHandler Apache::lonacc
+PerlHandler Apache::londatecheck
+PerlHandler Apache::lonipcheck
SetHandler perl-script
PerlHandler Apache::lonwrapper
ErrorDocument 403 /adm/login
@@ -460,6 +469,7 @@ PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonroles
ErrorDocument 403 /adm/login
+ErrorDocument 409 /adm/preferences?action=lockwarning
ErrorDocument 500 /adm/errorhandler
@@ -483,6 +493,16 @@ ErrorDocument 403 /adm/login
ErrorDocument 500 /adm/errorhandler
+
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::lonpickauthor
+ErrorDocument 403 /adm/login
+ErrorDocument 500 /adm/errorhandler
+
+
AuthType LONCAPA
Require valid-user
@@ -545,6 +565,7 @@ PerlAuthzHandler Apache::lonacc
SetHandler perl-script
PerlHandler Apache::lonlogout
ErrorDocument 403 /adm/login
+ErrorDocument 409 /adm/preferences?action=lockwarning
ErrorDocument 500 /adm/errorhandler
@@ -831,7 +852,6 @@ 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
@@ -1203,6 +1223,12 @@ PerlHandler Apache::resetpw
ErrorDocument 500 /adm/errorhandler
+
+SetHandler perl-script
+PerlHandler Apache::selfenroll
+ErrorDocument 500 /adm/errorhandler
+
+
SetHandler perl-script
PerlHandler Apache::createaccount
@@ -1355,6 +1381,15 @@ order allow,deny
allow from all
+# Allow serving of files in captchaspool
+
+
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+
+
# ============================================================= Access Handlers
# ------------------------------------------------- Allow server-status reports
@@ -1400,6 +1435,8 @@ PerlSetVar lonDocRoot /home/http
PerlSetVar lonPrtDir /home/httpd/prtspool
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes
PerlSetVar lonZipDir /home/httpd/zipspool
+PerlSetVar lonCaptchaDir /home/httpd/captchaspool
+PerlSetVar lonCaptchaDb /home/httpd/captchadb
PerlSetVar lonFontsDir /home/httpd/html/adm/fonts
# & separated list of : separated fields in order of
# - internal name to call it,