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

raeburn raeburn at source.lon-capa.org
Wed May 1 22:18:10 EDT 2019


raeburn		Thu May  2 02:18:10 2019 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - Bug 6910
  Gracefully handle display (and preview) for External Resources for which  
  Content-Security-Policy or X-Frame-Options prevent display in iframe in LC.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.267 loncom/loncapa_apache.conf:1.268
--- loncom/loncapa_apache.conf:1.267	Sun Jan 27 16:02:51 2019
+++ loncom/loncapa_apache.conf	Thu May  2 02:18:10 2019
@@ -2,7 +2,7 @@
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
 
-# $Id: loncapa_apache.conf,v 1.267 2019/01/27 16:02:51 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.268 2019/05/02 02:18:10 raeburn Exp $
 
 #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -294,6 +294,18 @@
 ErrorDocument     500 /adm/errorhandler
 </LocationMatch>
 
+<Location /adm/exturlcheck>
+AuthType LONCAPA
+Require valid-user
+PerlAuthzHandler  Apache::lonacc
+SetHandler        perl-script
+PerlHandler       Apache::lonexturlcheck
+ErrorDocument     403 /adm/login
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument     406 /adm/unauthorized
+ErrorDocument     500 /adm/errorhandler
+</Location>
+
 <LocationMatch "^/+priv/.*">
 AuthType LONCAPA
 Require valid-user




More information about the LON-CAPA-cvs mailing list