To some extent, I answered my own question. It can be done with a symLink after deleting or renaming the existing index.html in /var/www/html.
ln -s /var/www/html/weewx/index.html There may be a cleaner way. On Saturday, March 31, 2018 at 9:15:28 AM UTC-7, William Webb wrote: > > I was hoping to use option #1. This is where I ran into trouble. From the > instructions that I googled it is only necessary to edit sites-available > and sites-enabled to point to the new location. This had no effect. Some > instruction mention editing hppd.conf. I could not find it anywhere. My > assumption is that the instructions I was reading either do no apply to > Debian or are old. > > So does anyone know how to change the where apache2 finds index.html in > the current version of stretch? > > thanks Bill - AB6OR > > > On Friday, March 30, 2018 at 6:36:24 PM UTC-7, mwall wrote: >> >> On Friday, March 30, 2018 at 9:30:15 PM UTC-4, William Webb wrote: >>> >>> As set up right now my weather station page is reached by >>> 192.168.0.38/weewx. >>> >>> I would like to simplify this so that apache2 opens index.html directly >>> as 192.168.0.38 >>> >>> Can someone lead me by the hand or give me a link to correct, current >>> instructions? >>> >> >> >> >> option 1: set DocumentRoot in your apache configuration to be the >> directory where weewx puts files >> >> option 2: set HTML_ROOT in your weewx skin configuration to be the >> document root of your apache configuration >> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.