two weewx customization questions

56 views
Skip to first unread message

William Webb

unread,
Aug 27, 2019, 11:15:59 AM8/27/19
to weewx-user
Question 1:

I would like to make the index.html web page auto-update by adding the line:

<meta http-equiv='refresh' content='120'>

If I add it to the index file in the Apache2's www root it is overwritten at each report (of course).  If I add it to /home/weewx/public_html/index.html it oddly never gets written to index.html hosted by Apach2. Where should this simple line of code be inserted? What am I doing wrong?

Question 2:

If I move Apache2's www root, how and where do I modify weewx config to write to the new location?  I figured this out once before but forgot the solution.  I also forgot how to move the Apach2 www root.

Bill


Andrew Milner

unread,
Aug 27, 2019, 8:54:17 PM8/27/19
to weewx-user
1. change the template index.html.tmpl
2. change HTML_ROOT in weewx.conf 
Reply all
Reply to author
Forward
0 new messages