SOURCES (DEVEL): mythweb.conf - add image_cache alias

glen glen at pld-linux.org
Sun Jan 8 00:18:25 CET 2006


Author: glen                         Date: Sat Jan  7 23:18:25 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- add image_cache alias

---- Files affected:
SOURCES:
   mythweb.conf (1.4.2.1 -> 1.4.2.2) 

---- Diffs:

================================================================
Index: SOURCES/mythweb.conf
diff -u SOURCES/mythweb.conf:1.4.2.1 SOURCES/mythweb.conf:1.4.2.2
--- SOURCES/mythweb.conf:1.4.2.1	Fri Nov  4 01:58:57 2005
+++ SOURCES/mythweb.conf	Sun Jan  8 00:18:20 2006
@@ -3,6 +3,21 @@
 # Apache config for MythWeb.
 # See http://www.mythtv.org/ for information about MythTV itself.
 
+Alias /mythweb/image_cache /var/cache/mythweb/image_cache
+<Directory /var/cache/mythweb/image_cache>
+    <IfModule !mod_auth.c>
+        deny from all
+        allow from localhost
+    </IfModule>
+    <IfModule mod_auth.c>
+        AuthType Basic
+        AuthName "MythTV"
+        AuthUserFile /etc/mythweb/htpasswd
+        Require valid-user
+        allow from all
+    </IfModule>
+</Directory>
+
 Alias /mythweb /usr/share/mythweb
 <Directory /usr/share/mythweb>
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mythweb.conf?r1=1.4.2.1&r2=1.4.2.2&f=u



More information about the pld-cvs-commit mailing list