# $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
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
</FilesMatch>
+</Directory>
+
# vim: filetype=apache ts=4 sw=4 et