<div dir="ltr"><br><div style>Hi,</div><div style><br></div><div style>I have a new mythweb setup on archlinux-arm, which leaves me to configure a lot by hand that I hadn't had to do in the past. My apologies if I'm making a stupid mistake. I followed this guide: <a href="https://wiki.archlinux.org/index.php/MythWeb">https://wiki.archlinux.org/index.php/MythWeb</a> and tried to carefully read the INSTALL and README files in the mythweb directory.</div>
<div style><br></div><div style>I have <a href="http://192.168.0.107/mythweb/">http://192.168.0.107/mythweb/</a> pointing to /srv/http/mythweb/. /srv/http/mythweb is a symlink pointing to /var/lib/mythtv/mythweb/, execute permissions are properly set on each parent directory for the http user that Apache is running as.</div>
<div style><br></div><div style>When I visit that URL, I just see two broken image links that go to the url root_url.</div><div style><br></div><div style>In /var/log/httpd/access_log, I see that it is trying to load .css, image etc files from the url skin_url. I can see that both root_url and skin_url are some templating variable that is never translated.</div>
<div style><br></div><div style>view source on /mythweb/ shows a broken HTML file, with two <html> sections and two <body> sections.</div><div style><br></div><div style>e.g.: </div><div style><br></div><table>
<tbody><tr></tr><tr><td class=""><span class=""><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>"></span></td>
</tr><tr><td class=""></td><td class=""><span class=""><html></span></td></tr><tr><td class=""></td><td class=""><span class=""><head></span></td></tr><tr><td class=""></td><td class=""> <span class=""><meta <span class="">http-equiv</span>="<span class="">X-UA-Compatible</span>" <span class="">content</span>="<span class="">IE=EmulateIE7</span>"></span></td>
</tr><tr><td class=""></td><td class=""> <span class=""><base <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/root_url">root_url</a>"></span></td></tr><tr><td class="">
</td><td class=""> <span class=""><title></span><span class=""></title></span></td></tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">rel</span>="<span class="">icon</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/skin_urlimg/favicon.ico">skin_urlimg/favicon.ico</a>" <span class="">type</span>="<span class="">image/x-icon</span>"></span></td>
</tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">rel</span>="<span class="">shortcut icon</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/skin_urlimg/favicon.ico">skin_urlimg/favicon.ico</a>" <span class="">type</span>="<span class="">image/x-icon</span>"></span></td>
</tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">type</span>="<span class="">application/opensearchdescription+xml</span>" <span class="">rel</span>="<span class="">search</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/tv/opensearch?type=xml">tv/opensearch?type=xml</a>" <span class="">title</span>="<span class="">MythTV</span>"></span></td>
</tr><tr><td class=""></td></tr></tbody></table><div style><snip></div><div style><table><tbody><tr></tr><tr><td class=""><span class=""><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>"></span></td>
</tr><tr><td class=""></td><td class=""><span class=""><html></span></td></tr><tr><td class=""></td><td class=""><span class=""><head></span></td></tr><tr><td class=""></td><td class=""> <span class=""><meta <span class="">http-equiv</span>="<span class="">X-UA-Compatible</span>" <span class="">content</span>="<span class="">IE=EmulateIE7</span>"></span></td>
</tr><tr><td class=""></td><td class=""> <span class=""><base <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/root_url">root_url</a>"></span></td></tr><tr><td class="">
</td><td class=""> <span class=""><title></span><span class=""></title></span></td></tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">rel</span>="<span class="">icon</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/skin_urlimg/favicon.ico">skin_urlimg/favicon.ico</a>" <span class="">type</span>="<span class="">image/x-icon</span>"></span></td>
</tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">rel</span>="<span class="">shortcut icon</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/skin_urlimg/favicon.ico">skin_urlimg/favicon.ico</a>" <span class="">type</span>="<span class="">image/x-icon</span>"></span></td>
</tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td><td class=""> <span class=""><link <span class="">type</span>="<span class="">application/opensearchdescription+xml</span>" <span class="">rel</span>="<span class="">search</span>" <span class="">href</span>="<a class="" target="_blank" href="http://192.168.0.107/mythweb/tv/opensearch?type=xml">tv/opensearch?type=xml</a>" <span class="">title</span>="<span class="">MythTV</span>"></span></td>
</tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td><td class=""> <span class=""><meta <span class="">http-equiv</span>="<span class="">content-type</span>" <span class="">content</span>="<span class="">text/html; charset=utf-8</span>"></span></td>
</tr><tr><td class=""></td><td class=""> <span class=""><meta <span class="">name</span>="<span class="">robots</span>" <span class="">content</span>="<span class="">noindex, nofollow</span>"></span></td>
</tr><tr><td class=""></td><td class=""><br></td></tr><tr><td class=""></td></tr></tbody></table></div><div style>Here is the section of mythweb.conf that I configured, based on the template mythweb.conf.apache:</div><div style>
<br></div><div style><div> <Directory "/srv/http/mythweb/data"></div><div> Options -All +FollowSymLinks +IncludesNoExec</div><div> </Directory></div><div> <Directory "/srv/http/mythweb" ></div>
<div><br></div><div style>As far as I can tell, all of the modules referenced in the INSTALL file are enabled in httpd.conf. Mod_env and mod_rewrite are both uncommented and have a loadmodule directive.</div><div style><br>
</div><div style>Any advice on where my mistake is?</div></div></div>