SOURCES: mythweb.conf - configure alias, secure access (mod_auth o...
glen
glen at pld-linux.org
Tue Oct 25 22:59:46 CEST 2005
Author: glen Date: Tue Oct 25 20:59:46 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- configure alias, secure access (mod_auth optional) and session save path
---- Files affected:
SOURCES:
mythweb.conf (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/mythweb.conf
diff -u SOURCES/mythweb.conf:1.2 SOURCES/mythweb.conf:1.3
--- SOURCES/mythweb.conf:1.2 Tue Oct 25 22:27:31 2005
+++ SOURCES/mythweb.conf Tue Oct 25 22:59:40 2005
@@ -1,9 +1,19 @@
# $Id$
-AuthType Basic
-AuthName "MythTV"
-AuthUserFile /etc/mythweb/htpasswd
-Require valid-user
+Alias /mythweb /usr/share/mythweb
+<Directory /usr/share/mythweb>
+
+<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>
# If you have nuv files that are actually mpeg2 files, uncomment this
#AddType video/mpeg .nuv
@@ -20,7 +30,7 @@
php_value memory_limit 32M
- php_value session.save_path php_sessions
+ php_value session.save_path /var/cache/mythweb/php_sessions
php_value output_buffering 4096
php_value register_globals 0
@@ -43,5 +53,7 @@
php_flag short_open_tag "On"
</FilesMatch>
+
+</Directory>
# vim: filetype=apache ts=4 sw=4 et
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythweb.conf?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list