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 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/7ff66258-27e1-4418-83c2-11ed49e5c77an%40googlegroups.com.