[mythtv-users] mythweb not working .. modules_path ?]
Ismo Tanskanen
ismot at telemail.fi
Wed Dec 1 18:43:23 UTC 2010
**** Terveisin ** Regards ********
Ismo Tanskanen
Laitalehdontie 43
82220 Niittylahti
P 0400-764124
ismo at karjalandatahuolto.fi
ismot at telemail.fi
www.karjalandatahuolto.fi
Bill Meek kirjoitti:
> On Wed, 2010-12-01 at 17:30 +0200, Ismo Tanskanen wrote:
> ...
>
>> There really is not skin_url file or directory.. should it be there?
>>
>
> Hi;
>
> No, at at least I don't have one and mythweb works fine.
>
> However, in mythweb/include/skin.php, there is a:
>
> define('skin_url', root_url.'skins/'.skin.'/' );
>
> Considering your original posts regarding modules_path, which
> is set in the defines.php file and this skin_url issue, I'm
> suspecting a more basic problem.
>
> Please post the output of ls -lA /srv/www/htdocs/ and if it
> exists, ls -lA /srv/www/htdocs/mythweb.
>
> Then please post the lines of your web configuration file,
> which might be /etc/apache2/sites-enebled/mythweb.conf,
> that look something like this:
>
> <Directory "/var/www/html/data">
> Options -All +FollowSymLinks +IncludesNoExec
> </Directory>
> <Directory "/var/www/mythweb" >
>
> And do the same for any other files there. Be sure to label
> which is which (obviously.)
>
> Finally, for now, what version of PHP are you using? In
> ubuntu, I type dpkg -l php5. An openSUSE user can tell
> you how to find out if you don't know.
>
> Take care,
>
> Bill Meek
>
>
>
>
Hi,
Thanks for helping me.
I have index.php in /srv/www/htdocs , what only contains links to
mythweb and my photo gallery.
I also have tried access mythweb using ipaddress/mythweb, but same results.
# ls -lA /srv/www/htdocs/
total 32
-rw-r--r-- 1 root root 302 2006-03-13 07:40 favicon.ico
drwxr-xr-x 2 root root 4096 2010-07-06 09:03 gif
-rw-rw-rw- 1 root root 760 2009-04-23 23:29 index.php
-rw-r--r-- 1 root root 2356 2010-07-05 19:32 info2html.css
drwxrwxrwx 10 root root 4096 2010-12-01 17:23 mythweb
drwxr-xr-x 2 root root 4096 2010-11-20 21:59 nut
drwxr-xr-x 12 root root 4096 2010-11-20 20:34 phpPgAdmin
-rw-r--r-- 1 root root 26 2010-07-05 18:15 robots.txt
# ls -lA /srv/www/htdocs/mythweb/
total 88
drwxrwxrwx 6 root root 4096 2010-11-20 20:45 classes
drwxrwxrwx 3 root root 4096 2010-11-20 20:45 configuration
drwxrwxrwx 3 root apache 4096 2010-11-20 20:45 data
drwxrwxrwx 3 root root 4096 2010-11-20 20:45 includes
-rw-r--r-- 1 root root 0 2010-11-26 19:27 index.html~
-rw-r--r-- 1 root root 12571 2010-11-20 20:45 INSTALL
drwxrwxrwx 5 root root 4096 2010-11-20 20:45 js
-rw-r--r-- 1 root root 188 2010-11-20 20:45 LICENSE
drwxrwxrwx 18 root root 4096 2010-11-20 20:45 modules
lrwxrwxrwx 1 root root 31 2010-12-01 17:23 modules_path ->
/srv/www/htdocs/mythweb/modules
-rw-r--r-- 1 root root 9160 2010-11-20 20:45 mythweb.conf.apache
-rw-r--r-- 1 root root 1578 2010-11-20 20:45 mythweb.conf.lighttpd
-rw-r--r-- 1 root root 1349 2010-11-20 20:45 mythweb.php
-rwxr-xr-x 1 root root 3000 2010-11-20 20:45 mythweb.pl
-rw-r--r-- 1 root root 8696 2010-11-20 20:45 README
drwxrwxrwx 11 root root 4096 2010-11-20 20:45 skins
drwxrwxrwx 6 root root 4096 2010-11-20 20:49 .svn
*/etc/apache2/conf.d/mythweb.conf:*
<Directory "/srv/www/htdocs/mythweb">
Options -All +FollowSymLinks +IncludesNoExec
</Directory>
<Directory "/srv/www/htdocs/mythweb/data">
*/etc/apache2/conf.d/apache2-manual.conf:*
<Directory "/usr/share/apache2/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
<Files *.html>
SetHandler type-map
</Files>
SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$
/manual/$1$2
</Directory>
*/etc/apache2/conf.d/gitweb.conf:
*Alias /git/ "/usr/share/git-web/"
<Directory "/usr/share/git-web">
Options ExecCGI
AllowOverride None
AddHandler cgi-script .cgi
DirectoryIndex gitweb.cgi
Order allow,deny
Allow from all
</Directory>*
**/etc/apache2/conf.d/mod_perl.conf:
*<Directory "/srv/www/perl-lib">
AllowOverride None
Options None
Order allow,deny
Deny from all
</Directory>
*
**/etc/apache2/conf.d/nagios.conf:
*<Directory "/usr/lib/nagios/cgi">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/share/nagios"
<Directory "/usr/share/nagios">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user
</Directory>
*
**/etc/apache2/conf.d/php5.conf:*
*
*<IfModule mod_php5.c>
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .php4s
AddHandler application/x-httpd-php-source .php5s
AddHandler application/x-httpd-php-source .phps
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
My php is 5.3.3-0.1.2
-Kane
More information about the mythtv-users
mailing list