Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to configure mythweb correctly? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 489

PostPosted: Sun Jan 15, 2012 12:48 am    Post subject: How to configure mythweb correctly? [solved] Reply with quote

Hi,

I've installed the following packages:

- apache-2.2.21-r1
- php-5.3.9
- mythweb-0.23.1_p25396

When I try to access http://127.0.0.1/mythweb I get the following error:

Quote:
Not Found

The requested URL /mythweb/ was not found on this server.
Apache Server at 127.0.0.1 Port 80

Apache reports following lines:
Quote:
[Sun Jan 15 01:31:54 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0f PHP/5.3.9-pl0-gentoo configured -- resuming normal operations
[Sun Jan 15 01:37:15 2012] [error] [client 127.0.0.1] Attempt to serve directory: /var/www/localhost/htdocs/mythweb/

My make environment looks like this:
Quote:
# emerge --info
Portage 2.1.10.41 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo i686)
=================================================================
System uname: Linux-3.1.6-gentoo-i686-AMD_Athlon-tm-_XP_3200+-with-gentoo-2.0.3
Timestamp of tree: Sat, 14 Jan 2012 13:30:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.1.4-r3
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/store/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 3dnow 3dnowext X a52 aac acl acpi akonadi alsa amarok amazon apache2 audiofile avi berkdb branding bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt css cups curl cxx dbus declarative disk-partition dri dts dvb dvd dvdr dvdread embedded emboss encode exif extras fam fbcondecor ffmpeg firefox flac fortran gd gdbm gdu gif gimp gimpprint glibc-omitfp gnome-keyring gnutls gpg gphoto2 gpm gstreamer gtk2 history hpcups iconv ipv6 java jpeg json kate kde kerberos kipi lan lcms ldap libnotify libv4l2 libwww mad mjpeg mmx mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mythtv ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl openmp pam pango pcre pdf phonon plasma png policykit posix ppds pppd python qt3support qt4 quicktime rdesktop readline reiserfs rtc rtsp samba scanner sdl semantic-desktop session sip slp snmp spell sql sse ssl startup-notification stream stun svg sysfs tcltk tcpd threads threadsafe tiff truetype udev unicode usb userlocales v4l v4l2 vcd video vlc vorbis wav webkit wicd win32codecs winbind x264 x86 xcb xine xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host cgi dir env headers mime php rewrite" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vga radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Is there any up to date installation guide for mythweb? Does someone has an idea what wrong?

Regards


Last edited by samo on Sun Jan 15, 2012 9:47 am; edited 1 time in total
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 489

PostPosted: Sun Jan 15, 2012 9:46 am    Post subject: Reply with quote

Problem is solved after following changes:

1. Rename /etc/apache2/modules.d/mythweb.conf.apache to /etc/apache2/modules.d/mythweb.conf

2. Modify /etc/apache2/modules.d/mythweb.conf:
Code:
<Directory "/var/www/localhost/htdocs/mythweb/data">
    Options -All +FollowSymLinks +IncludesNoExec
</Directory>
<Directory "/var/www/localhost/htdocs/mythweb" >

Regards
Back to top
View user's profile Send private message
C00lHandLuke
n00b
n00b


Joined: 04 Dec 2006
Posts: 26

PostPosted: Wed Mar 14, 2012 3:07 am    Post subject: Reply with quote

Did you have any luck locating a good up to date doc for .24.2 mythweb install & configure ?
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 489

PostPosted: Sun Mar 25, 2012 3:26 pm    Post subject: Reply with quote

C00lHandLuke wrote:
Did you have any luck locating a good up to date doc for .24.2 mythweb install & configure ?
I'm still using mythweb-0.23.1_p25396, that's why I didn't search for it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum