SOURCES (DEVEL): mythweb.conf - discard mod_auth.c, incompatible w...
glen
glen at pld-linux.org
Wed Feb 1 20:33:59 CET 2006
Author: glen Date: Wed Feb 1 19:33:59 2006 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- discard mod_auth.c, incompatible with different apache versions
---- Files affected:
SOURCES:
mythweb.conf (1.4.2.4 -> 1.4.2.5)
---- Diffs:
================================================================
Index: SOURCES/mythweb.conf
diff -u SOURCES/mythweb.conf:1.4.2.4 SOURCES/mythweb.conf:1.4.2.5
--- SOURCES/mythweb.conf:1.4.2.4 Sun Jan 8 01:23:43 2006
+++ SOURCES/mythweb.conf Wed Feb 1 20:33:54 2006
@@ -10,35 +10,20 @@
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>
+ AuthType Basic
+ AuthName "MythTV"
+ AuthUserFile /etc/mythweb/htpasswd
+ Require valid-user
+ Allow from all
</Directory>
Alias /mythweb /usr/share/mythweb
<Directory /usr/share/mythweb>
-
-# authentication is enabled if Apache has module loaded,
-# otherwise access is restricted only to localhost.
-<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>
+ Allow from all
# Some special instructions for the PHP files of MythWeb.
<FilesMatch "\.php$">
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythweb.conf?r1=1.4.2.4&r2=1.4.2.5&f=u
More information about the pld-cvs-commit
mailing list