SOURCES: mythweb.conf (NEW) - original from mythweb/.htaccess

glen glen at pld-linux.org
Tue Oct 25 22:16:25 CEST 2005


Author: glen                         Date: Tue Oct 25 20:16:25 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- original from mythweb/.htaccess

---- Files affected:
SOURCES:
   mythweb.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mythweb.conf
diff -u /dev/null SOURCES/mythweb.conf:1.1
--- /dev/null	Tue Oct 25 22:16:25 2005
+++ SOURCES/mythweb.conf	Tue Oct 25 22:16:20 2005
@@ -0,0 +1,43 @@
+#AuthType Basic
+#AuthName "MythTV"
+#AuthUserFile /var/www/htpasswd
+#Require valid-user
+
+# 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
+
+# Some special handlers for php
+#  These settings are intended for apache 2.x.  If your version of apache
+#  doesn't support php_value, or things like memory_limit aren't working
+#  as expected, then use these settings as examples for your own php.ini
+#  files.
+<FilesMatch "\.php$">
+    php_value safe_mode                     0
+
+    php_value memory_limit                  32M
+
+    php_value session.save_path             php_sessions
+
+    php_value output_buffering              4096
+    php_value register_globals              0
+    php_value magic_quotes_gpc              0
+    php_value file_uploads                  0
+    php_value allow_url_fopen               On
+
+    php_value zlib.output_handler           Off
+    php_value zlib.output_compression       16384
+    php_value zlib.output_compression_level 4
+
+    php_value url_rewriter.tags             a=href,area=href,frame=src,input=src,form=action
+
+# These values do not change - bug in php
+    php_value output_handler                NULL
+    php_value short_open_tag                1
+
+# php_flag does not work in older versions of php
+    php_flag output_handler                 "NULL"
+    php_flag short_open_tag                 "On"
+
+</FilesMatch>
================================================================



More information about the pld-cvs-commit mailing list