Here is my website(www.ekyrrgweather.com) and as you can see its uploading 
the index.html and its being displayed on my website.  I want to stop this 
from happening, but I still want to be able to access this on my pi which 
is running my weewx.  What way can I stop the upload of the index.html and 
all its graph images but still be able to see this page when looking up 
file:///var/www/html/weewx/weewx.html on my pi.  Im sorry for all the 
trouble!


On Tuesday, September 29, 2020 at 9:33:59 AM UTC-4 gjr80 wrote:

> The FTP report <http://weewx.com/docs/usersguide.htm#config_FTP> uploads 
> everything within and below the HTML_ROOT directory. If there are files 
> being uploaded by the FTP report that you don't want uploaded there are a 
> few different approaches that can be used to stop the unwanted files being 
> uploaded, the two common approaches are:
>
> 1. Stop the generation of the unwanted files by WeeWX. If the .png files 
> are WeeWX generated then they may be plot files generated by the WeeWX 
> ImageGenerator being run by a skin, in this case you will need to identify 
> the skin producing the plots and disable/comment out/remove the 
> [ImageGenerator] stanza (or portions of it if you want to keep some of 
> the .png files) in the skin config file or you can remove the entry 
> weewx.imagegenerator.ImageGenerator from the generator_list setting under 
> the [Generators] stanza in the skin config file. If you are using 
> WeeWX-WD it is possible the .png files may be windrose images generated by 
> the WeeWX StackedWindRoseImageGenerator. In this case you can stop 
> generation by setting enable = False under [StdReport] [[
> wdStackedWindRose]] in weewx.conf. weewx.conf changes will require a 
> WeeWX restart/config reload.
>
> 2. Have whatever is generating the unwanted files save the files to 
> another directory. In this case you need to identify the skin that is 
> producing the files and set/change the HTML_ROOT setting(s) for the skin 
> such that the unwanted files are saved somewhere outside of the HTML_ROOT 
> being used by the FTP report.
>
> Remember, HTML_ROOT can be set/overridden in different places with 
> weewx.conf; so the HTML_ROOT being used by the FTP report may be 
> different to that set  at the top of the [StdReport] stanza which may be 
> different to that value used within anther report.
>
> Gary
> On Tuesday, 29 September 2020 at 07:12:56 UTC+10 eastcentra...@gmail.com 
> wrote:
>
>> One last problem for now.  I got the FTP to work and it was uploading all 
>> the stuff I needed such as the test tags.php, etc.  There was also stuff I 
>> didn't want that was being uploaded like a bunch of png's.  How can I only 
>> upload the stuff I need for my Saratoga template which is the clientraw 
>> stuff and the test tags stuff.  
>>
>> On Friday, September 18, 2020 at 9:21:23 PM UTC-4 gjr80 wrote:
>>
>>> All WeeWX-WD is a couple of WeeWX services and a number of WeeWX 
>>> reports/skins that generate the output. If you want to change where the 
>>> reports/skins create their output then yes that is what you need to do. 
>>> Have a look at your [StdReport] stanza and the corresponding skins.
>>>
>>> Gary
>>>
>>> On Saturday, 19 September 2020 at 11:16:44 UTC+10 
>>> eastcentra...@gmail.com wrote:
>>>
>>>> So, Im using weedwd to update my site for the Saratoga template.  Is 
>>>> this still how I would do it?
>>>>
>>>> On Friday, September 18, 2020 at 8:54:59 PM UTC-4 gjr80 wrote:
>>>>
>>>>> You can change the location that WeeWX uses to save generated reports 
>>>>> by setting the HTML_ROOT config option. HTML_ROOT is set in the 
>>>>> [StdReport] stanza in weewx.conf, if you set HTML_ROOT immediately 
>>>>> under [StdReport] the setting will apply to all reports but you can 
>>>>> override HTML_ROOT for individual reports by setting HTML_ROOT under 
>>>>> the report stanza, eg:
>>>>>
>>>>> [StdReport]
>>>>>     ....
>>>>>     HTML_ROOT = public_html
>>>>>     ....
>>>>>     [[MyReport]]
>>>>>         skin = MySkin
>>>>>
>>>>>     [[MyOtherReport]]
>>>>>         skin = MyOtherSkin
>>>>>         HTML_ROOT = public_html/other_report
>>>>>
>>>>> Would place the content generated by MyReport in the public_html 
>>>>> directory and content generated by MyOtherReport in the 
>>>>> public_html/other_report directory.
>>>>>
>>>>> HTML_ROOT can be specified as an absolute path or as a relative path. 
>>>>> If specified as a relative path the path is relative to the WEEWX_ROOT 
>>>>> path specified in weewx.conf.
>>>>>
>>>>> If you are using the FTP or RSYNC report to upload to a web server you 
>>>>> can also use one or more instances of the FTP or RSYNC report to locate 
>>>>> your uploaded files on the web server as required. However, 
>>>>> setting/overriding HTML_ROOT is all that is required in most cases.
>>>>>
>>>>> Gary
>>>>> On Saturday, 19 September 2020 at 04:54:43 UTC+10 
>>>>> eastcentra...@gmail.com wrote:
>>>>>
>>>>>> Ok, now that its been working for a while weewxwd has been updating 
>>>>>> to my website.  Its been updating to a WD folder but I want to change it 
>>>>>> where it updates to "public_html" how do I do this?
>>>>>>
>>>>>> On Friday, August 21, 2020 at 8:51:26 PM UTC-4 Luke Marcum wrote:
>>>>>>
>>>>>>> Yes it is!
>>>>>>>
>>>>>>>
>>>>>>> On Friday, August 21, 2020 at 12:52:55 AM UTC-4, rich T wrote:
>>>>>>>>
>>>>>>>> In the weewx.config file, is your FTP section setup?
>>>>>>>>
>>>>>>>> On Friday, August 21, 2020 at 12:35:51 AM UTC-4, Luke Marcum wrote:
>>>>>>>>>
>>>>>>>>> Its out on the internet and I used the Saratoga Template!
>>>>>>>>>
>>>>>>>>> On Friday, August 21, 2020 at 12:34:54 AM UTC-4, rich T wrote:
>>>>>>>>>>
>>>>>>>>>> Is it local (on local network) or  out on internet?
>>>>>>>>>>
>>>>>>>>>> On Friday, August 21, 2020 at 12:04:54 AM UTC-4, Luke Marcum 
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ok, now that Ive finished configuration, how to I get weewx-wd 
>>>>>>>>>>> to send the testtags file to my website?
>>>>>>>>>>>  
>>>>>>>>>>>
>>>>>>>>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/469d0414-ac30-422d-8c06-cce6b1bb62c6n%40googlegroups.com.

Reply via email to