[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf
www
lon-capa-cvs@mail.lon-capa.org
Mon, 12 May 2003 23:44:43 -0000
www Mon May 12 19:44:43 2003 EDT
Modified files:
/loncom loncapa_apache.conf
Log:
Better don't mess with user-uploaded HTML files.
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.48 loncom/loncapa_apache.conf:1.49
--- loncom/loncapa_apache.conf:1.48 Mon May 12 17:22:57 2003
+++ loncom/loncapa_apache.conf Mon May 12 19:44:43 2003
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.48 2003/05/12 21:22:57 www Exp $
+## $Id: loncapa_apache.conf,v 1.49 2003/05/12 23:44:43 www Exp $
##
#
@@ -191,12 +191,12 @@
PerlHandler Apache::lonrights
</LocationMatch>
-<LocationMatch "^/(res|public|uploaded|\~).*\.(xml|html|htm|xhtml|xhtm)$">
+<LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
SetHandler perl-script
PerlHandler Apache::lonxml
</LocationMatch>
-<LocationMatch "^/(res|public|uploaded|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
+<LocationMatch "^/(res|uploaded|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
SetHandler perl-script
PerlHandler Apache::lonhomework
</LocationMatch>