]> git.pld-linux.org Git - packages/mythplugins.git/commitdiff
- configure alias, secure access (mod_auth optional) and session save path
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 25 Oct 2005 20:59:40 +0000 (20:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythweb.conf -> 1.3

mythweb.conf

index d92cfa12d0e3c9b679e4d7ab9bc833d11000dbac..4318ff1c8af54347a36c9281acdf621860736731 100644 (file)
@@ -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 @@ Require valid-user
 
     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
@@ -44,4 +54,6 @@ Require valid-user
 
 </FilesMatch>
 
+</Directory>
+
 # vim: filetype=apache ts=4 sw=4 et
This page took 0.063931 seconds and 4 git commands to generate.