[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf

raeburn lon-capa-cvs@mail.lon-capa.org
Thu, 01 Mar 2007 18:04:27 -0000


raeburn		Thu Mar  1 13:04:27 2007 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Add directive for domainprefs
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.162 loncom/loncapa_apache.conf:1.163
--- loncom/loncapa_apache.conf:1.162	Mon Dec 11 09:06:06 2006
+++ loncom/loncapa_apache.conf	Thu Mar  1 13:04:27 2007
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.162 2006/12/11 14:06:06 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.163 2007/03/01 18:04:27 raeburn Exp $
 ##
 
 #
@@ -697,6 +697,17 @@
 ErrorDocument     500 /adm/errorhandler
 </Location>
 
+<Location /adm/domainprefs>
+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
+</Location>
+
 <Location /adm/createuser>
 AuthType LONCAPA
 Require valid-user