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

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 15 Sep 2006 17:08:11 -0000


raeburn		Fri Sep 15 13:08:11 2006 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
  Log:
  Be more explicit about the directories from which the server is permitted to serve files.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.157 loncom/loncapa_apache.conf:1.158
--- loncom/loncapa_apache.conf:1.157	Wed Sep  6 15:26:26 2006
+++ loncom/loncapa_apache.conf	Fri Sep 15 13:08:10 2006
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.157 2006/09/06 19:26:26 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.158 2006/09/15 17:08:10 raeburn Exp $
 ##
 
 #
@@ -1246,6 +1246,26 @@
 <Directory />
 Options None
 AllowOverride None
+order deny,allow
+deny from all
+</Directory>
+
+# Allow uploaded files to be served
+
+<Directory "/home/httpd/lonUsers">
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
+</Directory>
+ 
+# Allow construction space files to be served
+
+<Directory "/home/*/public_html/" >
+Options Includes FollowSymLinks
+AllowOverride
+order allow,deny
+allow from all
 </Directory>
 
 # Yes to symbolic links and server-side includes