[mythtv] MythWeb and suPHP
Dean Hiller
hiller at employees.org
Mon Sep 8 02:34:47 UTC 2008
I tried to run MythWeb with suPHP enabled and it
did not work. I made the following changes to
includes/defines.php get it to work.
17a18,21
> if (isset($_SERVER['ORIG_SCRIPT_NAME'])) {
> define('root', str_replace('//', '/',
dirname($_SERVER['ORIG_SCRIPT_NAME']).'/'));
> }
> else {
18a23
> }
41c46,49
< array_key_exists('PATH_INFO', $_SERVER)
---
> array_key_exists('ORIG_PATH_INFO', $_SERVER)
> && $_SERVER['ORIG_PATH_INFO']
> ? $_SERVER['ORIG_PATH_INFO']
> : (array_key_exists('PATH_INFO', $_SERVER)
51c59
< )
---
> ))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080907/20b595a2/attachment.htm
More information about the mythtv-dev
mailing list