[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf
raeburn
raeburn@source.lon-capa.org
Tue, 23 Dec 2008 00:02:56 -0000
raeburn Tue Dec 23 00:02:56 2008 EDT
Modified files:
/loncom loncapa_apache.conf
Log:
- Skip authentication for icons etc. in /res/adm/pages
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.182 loncom/loncapa_apache.conf:1.183
--- loncom/loncapa_apache.conf:1.182 Mon Dec 22 21:13:14 2008
+++ loncom/loncapa_apache.conf Tue Dec 23 00:02:56 2008
@@ -1,7 +1,7 @@
##
## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
##
-## $Id: loncapa_apache.conf,v 1.182 2008/12/22 21:13:14 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.183 2008/12/23 00:02:56 raeburn Exp $
##
#
@@ -51,6 +51,10 @@
PerlSetVar lonOtherAuthen no
#PerlWarn On
+<LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
+PerlAuthenHandler 'sub { return OK }'
+</LocationMatch>
+
<LocationMatch "^/+res.*">
AuthType LONCAPA