Vous n'êtes pas identifié(e).
je bloque sur mythweb
j'ai appliqué à la lettre ce tuto-arch
Dans mon navigateur, au lieu de mythweb, il m'affiche le répertoire contenenat mythweb.
Il y a bien un fichier mythweb.php, mais il n'est pas servi en tant que tel par apache.
Je n'y connais pas grand chose en serveur web. Si vous avez une piste ...
Mythuser depuis 2005
Hors ligne
vérifie la partie PHP car la partie apache fonctionne puisque tu as accès au répertoire. Tu as du oublié quelque chose
Hors ligne
j'ai déja revérifié tout php, car j'ai bien compris que c'était ça qui ne marchait pas.
Mais j'ai besoin de plus d'info sur l'erreur.
Les logs htpd m'indique des fichiers manquants, appelés par mythweb.php (skin-url, skin-urling, favicon.co), qui sont en fait dans des répertoires
ça vous dis quelque chose ?
ça ne m'avance pas à grand chose sur un problème de phph.
quel serait les logs plus pertinents ?
php-apache est installé, même si c'est une dépendance optionnelle.
Dernière modification par piratebab (01/09/2013 12:19:55)
Mythuser depuis 2005
Hors ligne
J'ai tout revérifier point par point, je n'ai pas vu d'erreur.
J'ai un doute sur ma comprehension du point suivant:
Edit mythweb.conf to point it to the correct installation directory (near the beginning of the file).
<Directory "/var/lib/mythtv/mythweb" >
partout ou j''avais dans le fichier un truc du genre <Directory "/srv/http" > , je l'ai remplacé par <Directory "/var/lib/mythtv/mythweb" >
C'est bien ça qu'il faut faire ?
Mythuser depuis 2005
Hors ligne
voila les modifications que j'ai fait dans le fichier /etc/http/d/conf/extra/mythweb.conf
#
# Apache configuration directives for MythWeb. Please read INSTALL for setup
# requirements and troubleshooting, along with the comments in this file.
#
############################################################################
# If you intend to use authentication for MythWeb (see below), you will
# probably also want to uncomment the following rules, which disable
# authentication for MythWeb's download URLs so you can properly stream
# to media players that don't work with authenticated servers.
#
# <LocationMatch .*/pl/stream/[0-9]+/[0-9]+>
# Allow from all
# </LocationMatch>
#
# <LocationMatch .*/music/stream.php>
# Allow from all
# </LocationMatch>
#
# CHANGE THESE PATHS TO MATCH YOUR MYTHWEB INSTALLATION DIRECTORY! e.g.
#
# /var/www
# /home/www/htdocs
# /var/www/html/mythweb
# /srv/www/htdocs/mythweb
#
Alias /mythweb /var/lib/mythtv/mythweb
<Directory "/var/lib/mythtv/mythweb/data">
Options -All +FollowSymLinks +IncludesNoExec
Order deny,allow
Allow from All
</Directory>
<Directory "/var/lib/mythtv/mythweb" >
Order deny,allow
Allow from All
Satisfy any
<Files mythweb.*>
############################################################################
# I *strongly* urge you to turn on authentication for MythWeb. It is disabled
# by default because it requires you to set up your own password file. Please
# see the man page for htdigest and then configure the following four directives
# to suit your authentication needs.
#
# AuthType Digest
# AuthName "MythTV"
# AuthUserFile /var/www/htdigest
# Require valid-user
# BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
# Order allow,deny
# Satisfy any
#
# * If you're running Apache earlier than 2.2, you will need to use
# the AuthDigestFile command instead of AuthUserFile (3rd line above).
#
############################################################################
# Some special instructions for the MythWeb controller files
#
le reste, je n'ai rien changé
Dernière modification par gilles74 (02/09/2013 21:44:04)
Hors ligne
c'est la ligne alias qui me manquait.
Maintenant j'ai une erreur 403 (accés depuis le lan).
Je vais regarder la partie authentification.
Merci gilles
Mythuser depuis 2005
Hors ligne