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

raeburn raeburn at source.lon-capa.org
Wed Aug 26 10:32:19 EDT 2015


raeburn		Wed Aug 26 14:32:19 2015 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  - Apache 2.4: Display directory listing in /res/domain/user/ on an author's
    home server in the case where the author has published an index.html file
    in his/her Authoring Space.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.234 loncom/loncapa_apache.conf:1.235
--- loncom/loncapa_apache.conf:1.234	Thu May 28 18:45:51 2015
+++ loncom/loncapa_apache.conf	Wed Aug 26 14:32:18 2015
@@ -2,7 +2,7 @@
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
 
-# $Id: loncapa_apache.conf,v 1.234 2015/05/28 18:45:51 raeburn Exp $
+# $Id: loncapa_apache.conf,v 1.235 2015/08/26 14:32:18 raeburn Exp $
 
 #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)
@@ -1561,6 +1561,10 @@
    DirectoryIndex disabled
 </DirectoryMatch>
 
+<DirectoryMatch "^/home/httpd/html/res/.+/">
+   DirectoryIndex disabled
+</DirectoryMatch>
+
 # ============================================================= Access Handlers
 
 # ------------------------------------------------- Allow server-status reports




More information about the LON-CAPA-cvs mailing list