-#AuthType Basic
-#AuthName "MythTV"
-#AuthUserFile /var/www/htpasswd
-#Require valid-user
+# $Id$
+
+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
# If you have normal software-encoded nuv files, use this type
-AddType video/nuppelvideo .nuv
+#AddType video/nuppelvideo .nuv
# Some special handlers for php
# These settings are intended for apache 2.x. If your version of apache
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
php_flag short_open_tag "On"
</FilesMatch>
+
+</Directory>
+
+# vim: filetype=apache ts=4 sw=4 et