Hi Gary
Yep confirmed the files were where they should be so as you mentioned it 
got me thinking about permissions and it maybe useful for others.
To cut a long story short my web server only hosts windows type web sites 
which need a web.config file to give it clues as to what to do with certain 
things.
So I added an empty web.config and added the following (which I admit I got 
from searching good old google.

<configuration> 
<system.webServer> 
<staticContent> 
<remove fileExtension=".json"/> 
<mimeMap fileExtension=".json" mimeType="application/json"/> 
</staticContent> 
</system.webServer> 
</configuration>

It now works OK so thanks to you and eveybody else.
Phil

<?xml version="1.0" encoding="utf-8"?> 


On Friday, July 19, 2019 at 8:30:30 PM UTC+1, Phil Owers wrote:
>
> Hi All
>
> I had trouble with the average extension back end of last year and thanks 
> to Gary he put me right. I'm changing over to a new server and I'm having 
> trouble again
>
> The old is on http://www.sheringhamweather.org.uk/averages.html  and 
> works.
>
> The new looks to be set up the same but the graph is empty.  Ive look 
> through VIEW SOURCE on edge or View Page Source on Firefox and admittedly 
> my understanding of it is limited but it looks similar as the files look 
> the same.  
> You can look at this at 
> http://www.sheringhamukweather.org.uk/averages.html   
>
> The problem is the same what ever browser I use and I have deleted the 
> browsing history as Ive had problems with that especially if I change an 
> icon on the forecast.
>
> Any help would be appreciated Thanks Phil
>

-- 
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/212625d6-b30f-4ae2-bf14-2691b5f57d68%40googlegroups.com.

Reply via email to