<div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, Jun 28, 2020, 7:14 AM Stefan Davids <<a href="mailto:mythtv@stefan.davids.uk.net">mythtv@stefan.davids.uk.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27/06/2020 17:35, Tom Bishop wrote:<br>
> I am trying to add an additional virtual host, I have moved mythweb from<br>
> the default and thats working but my new virtual hosts document root<br>
> always gets /mythweb/ added to the path. Looked and looked at apache2<br>
> to try to figure out where its being written as default but coming up<br>
> empty right now. Anyone have any information where to updated that<br>
> override would be great.<br>
<br>
What do you have in your virtual host file? You might be missing a<br>
DocumentRoot. For example I have the following under<br>
/etc/apache2/sites-available (in mythweb.conf):<br>
<br>
<VirtualHost *:80><br>
ErrorLog ${APACHE_LOG_DIR}/mythtv.log<br>
CustomLog ${APACHE_LOG_DIR}/mythtv.log combined<br>
ServerName <a href="http://mythtv.netscum.org.uk" rel="noreferrer noreferrer" target="_blank">mythtv.netscum.org.uk</a><br>
DocumentRoot /var/www/sites/mythweb<br>
</VirtualHost><br>
<br>
/var/www/sites/mythweb is a symlink to /usr/share/mythtv/mythweb (or<br>
where ever you have mythweb installed). Then accessing<br>
<a href="http://mythtv.netscum.org.uk" rel="noreferrer noreferrer" target="_blank">http://mythtv.netscum.org.uk</a> goes to the mythweb site. If you want<br>
https access you'll need a virtual host stanza for that too.<br>
<br>
Once that's in the file you need to<br>
<br>
# a2ensite mythweb.conf<br>
# systemctl reload apache2<br>
<br>
(on Debian at any rate)<br>
<br>
HTH<br>
<br>
Stefan<br></blockquote></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks guys, I had it working but the browser was trying to *cough* help me out by caching the pages. When I tried it under a clean browser it's working fine. :)</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>