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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 09 Nov 2002 22:08:17 -0000


albertel		Sat Nov  9 17:08:17 2002 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - add the new randomlabel image handler to the conf file
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.23 loncom/loncapa_apache.conf:1.24
--- loncom/loncapa_apache.conf:1.23	Wed Nov  6 17:43:27 2002
+++ loncom/loncapa_apache.conf	Sat Nov  9 17:08:17 2002
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.23 2002/11/06 22:43:27 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.24 2002/11/09 22:08:17 albertel Exp $
 ##
 ## 1/11/2002 - Scott Harrison
 ## 2/19/2002 - Scott Harrison
@@ -197,6 +197,14 @@
 </LocationMatch>
 
 # -------------------------------------------------------------- Admin Programs
+
+<Location /adm/randomlabel.png>
+PerlAccessHandler       Apache::lonacc
+SetHandler perl-script
+PerlHandler Apache::randomlylabel
+ErrorDocument     403 /adm/login
+ErrorDocument	  500 /adm/errorhandler
+</Location>
 
 <Location /adm/statistics>
 PerlAccessHandler       Apache::lonacc