SOURCES (DEVEL): mythweb.conf - updated from upstream
glen
glen at pld-linux.org
Sun Jan 8 00:32:18 CET 2006
Author: glen Date: Sat Jan 7 23:32:18 2006 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- updated from upstream
---- Files affected:
SOURCES:
mythweb.conf (1.4.2.2 -> 1.4.2.3)
---- Diffs:
================================================================
Index: SOURCES/mythweb.conf
diff -u SOURCES/mythweb.conf:1.4.2.2 SOURCES/mythweb.conf:1.4.2.3
--- SOURCES/mythweb.conf:1.4.2.2 Sun Jan 8 00:18:20 2006
+++ SOURCES/mythweb.conf Sun Jan 8 00:32:12 2006
@@ -47,7 +47,7 @@
# look to connect to the database, the name of the database to connect to, and
# the authentication info to use to connect. The defaults will usually work
# fine unless you've changed mythtv's mysql.txt file, or are running MythWeb on
- # a different server from your main backend.
+ # a different server from your main backend. Make sure you have mod_env enabled.
#
<IfModule mod_env.c>
SetEnv db_server "localhost"
@@ -56,6 +56,13 @@
SetEnv db_password "mythtv"
</IfModule>
+ # By default, php will always search the current directory for include files,
+ # but if you wish to install these directories outside of the current path
+ # (eg. for security reasons), set this variable to the directory that
+ # contains the directories like languages and templates. eg.
+ #
+ # setenv include_path "/usr/share/mythweb"
+
# 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
@@ -99,11 +106,12 @@
# Skip out early if we've already been through rewrites,
# or if this is a /css/, /js/ or /cache/ directory request.
- RewriteRule ^(css|js|cache|images|image_cache|video_dir|mythvideo|themes|[a-z_]+\.php)(/|$) - [L]
+ RewriteRule ^(css|data|images|js|themes|skins|[a-z_]+\.php)(/|$) - [L]
# Redirect most of the remaining URL requests to the main cooktools script.
# It will then handle any requests given to it.
- RewriteRule ^(.*)$ mythweb.php/$1 [QSA,L]
+ RewriteRule ^(.+)$ mythweb.php/$1 [QSA,L]
+ RewriteRule ^(.*)$ mythweb.php [QSA,L]
# If you're experiencing trouble with the previous line in your copy of apache,
# you could also use something like:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mythweb.conf?r1=1.4.2.2&r2=1.4.2.3&f=u
More information about the pld-cvs-commit
mailing list