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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 21 Sep 2005 13:40:07 -0000


raeburn		Wed Sep 21 09:40:07 2005 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  internal_redirect() in lonenc needs to be called by Content Handler, not Access Handler, otherwise Apache on SuSE will not reliably serve embedded objects.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.114 loncom/loncapa_apache.conf:1.115
--- loncom/loncapa_apache.conf:1.114	Thu Jul  7 17:38:35 2005
+++ loncom/loncapa_apache.conf	Wed Sep 21 09:40:05 2005
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.114 2005/07/07 21:38:35 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.115 2005/09/21 13:40:05 raeburn Exp $
 ##
 
 #
@@ -56,7 +56,8 @@
 </LocationMatch>
 
 <LocationMatch "^/+enc.*">
-PerlAccessHandler       Apache::lonenc
+SetHandler perl-script
+PerlHandler       Apache::lonenc
 ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/roles