Skip to content

HTML_ROOT #160

Pinned Answered by Daveiano
trobnc asked this question in Q&A
Apr 25, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Please remove all files from your output directory when changing the HTML_ROOT option in weewx. If there are files left over from a previous report run, the files will simply stay in this location. They won't get removed automatically.

HTML_ROOT and basePath are two different things.

If you want the files of the skin to be generated to /var/www/html/weewx/wdc, just set the HTML_ROOT like said: HTML_ROOT = /var/www/html/weewx/wdc

Here is an explanation of basePath: https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
If you are hosting the skin at http://your.ip.address/weewx/wdc, the basePath should be /weewx/wdc.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Daveiano
Comment options

Answer selected by Daveiano
@trobnc
Comment options

@Daveiano
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants