Of course you are right that this is a "how do I set up Apache" problem. I 
realized it was a permission problem and found out that I had to modify 
000-default.conf in /etc/apache2/sites-available, so now it is working.

Den måndag 26 augusti 2019 kl. 23:56:13 UTC+2 skrev vince:
>
> On Monday, August 26, 2019 at 7:49:16 AM UTC-7, IL wrote:
>
>>
>> The files go into /var/www/html/weewx and if I enter 
>> "file:///var/www/html/weewx/index.html" into the address field of a web 
>> browser this file (with reasonable data) is shown.
>>
>> I have configured Apache to use port 8000 to avoid port 80 as this is 
>> used by the weewx-interceptor. When I address the browser to localhost:8000 
>> the default Apache page is shown. I have tried to get the browser to 
>> display the weewx page using addresses like localhost:/weewx:8000 or 
>> localhost:/weewx/index.html:8000 but then it displays a page with the 
>> single word "success".
>>
>>
> This isn't a weewx problem, it's a "how do I set up Apache" problem.   
> That is likely documented in a million howtos already.
>
> My 'guess' is that your Apache config is expecting the HTML document root 
> in one place, and you have weewx configured to copy to a different 
> directory.    Check your apache config files for what your document root is 
> for your port 8000 virtual server.   Also check your Apache logs.
>
> Alternate thing to try would be to open http://localhost:8000/html and 
> see if that shows your weewx pages.  If you see weewx stuff there, you're 
> just copying to one level too deep, meaning your document root is incorrect 
> in weewx.conf.
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a34bdbd8-c4d3-4c99-9d9f-af4b55dfbb1e%40googlegroups.com.

Reply via email to