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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 21 Sep 2006 16:24:09 -0000


albertel		Thu Sep 21 12:24:09 2006 EDT

  Modified files:              (Branch: version_2_2_X)
    /loncom	loncapa_apache.conf 
  Log:
  - backport 1.158 1.159
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.154.2.1 loncom/loncapa_apache.conf:1.154.2.2
--- loncom/loncapa_apache.conf:1.154.2.1	Wed Sep  6 15:30:02 2006
+++ loncom/loncapa_apache.conf	Thu Sep 21 12:24:09 2006
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.154.2.1 2006/09/06 19:30:02 albertel Exp $
+## $Id: loncapa_apache.conf,v 1.154.2.2 2006/09/21 16:24:09 albertel Exp $
 ##
 
 #
@@ -1239,6 +1239,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
@@ -1255,6 +1275,17 @@
 <Directory /home/httpd/cgi-bin>
 AllowOverride None
 Options ExecCGI FollowSymLinks
+order allow,deny
+allow from all
+</Directory>
+
+# Allow serving of files in prtspool
+
+<Directory "/home/httpd/prtspool/">
+Options Includes FollowSymLinks
+AllowOverride None
+order allow,deny
+allow from all
 </Directory>
 
 # ============================================================= Access Handlers