First, take a look to your weewx.conf
Section [StdReport]
There is HTML_ROOT = /path/name/path

If you have only have one website you can point to your default Apache2 
path or you can edit your /etc/apache2/sites-available/000-default.conf
After editing restart Apache2 with sudo /etc/init.d/apache2 restart


Am Sonntag, 12. Juli 2020 20:59:03 UTC+2 schrieb Michael Grossie:
>
> Answered one of my questions - I changed the Weather Station to Simulator 
> and the weewx/public_HTML folder was created and populated.
> However running http://localhost/weewx 
> <http://www.google.com/url?q=http%3A%2F%2Flocalhost%2Fweewx&sa=D&sntz=1&usg=AFQjCNHBxcaES0Yn82J1BxYpDZCPLsAvGg>
>   
> yields the Page Not Found error.
>  
>  
> Michael H Grossie
> mhgr...@sbcglobal.net <javascript:>
>
>
> On Sun, Jul 12, 2020 at 12:18 PM Michael Grossie <mhgr...@gmail.com 
> <javascript:>> wrote:
>
>> This is a very old thread - but it relates to my question - with the 
>> exception of Ubuntu
>> Raspberry Pi 2 B
>> Raspbian Stretch
>> Station: Argent WS1
>>
>> I have got Apache2 installed, followed the setup and completed the Apache 
>> configuration snippet. I have checked and the various files and directories 
>> are in place, however I do not find the /home/weewx/public_html file.
>> Since I am not connected to active weather instruments at this time, 
>> could it be that this file will not be created until the weewx program 
>> receives data - 
>> the http://localhost/weewx  gives me a 404 page not found error.
>>
>> TIA
>>
>> On Friday, September 16, 2016 at 2:28:31 PM UTC-5 valken...@gmail.com 
>> wrote:
>>
>>> How did you guys configure Apache?
>>> Apache2 for instance is able to serve multiple/different sites from 
>>> different directories based on the requesting url.
>>>
>>> I created a virtualhost in Apache based on the url, which tells Apache 
>>> to serve the weewx pages from the directory where they are located.
>>> You could read this:
>>> https://help.ubuntu.com/lts/serverguide/httpd.html
>>>
>>> i placed 
>>>
>>> DocumentRoot /var/www/weewx
>>>
>>> In the configuration file for the site, and this works
>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/kzXjvLjWI-k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/0a0eeb25-e5b4-4767-a254-92168ff6ed72o%40googlegroups.com.

Reply via email to