Author Topic: advforecast2.php V3.14 is available - fixes access to NWS website issue  (Read 1998 times)

saratogaWX

  • Strong Breeze
  • ***
  • Posts: 156
  • Weather website programming enthusiast
    • Saratoga-Weather.org
  • Station Details: Davis VP1 +, iMAC 21, OSX 10.6.8
Looks like the point printable forecast is returning a page
Quote
HTTP/1.0 403 Forbidden
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 290
Expires: Tue, 31 Mar 2015 17:38:56 GMT
Date: Tue, 31 Mar 2015 17:38:56 GMT
Connection: close

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http://forecast.weather.gov/MapClick.php?" on this server.<P>
Reference #18.963819b8.1427823536.276aa2a
</BODY>
</HTML>

They seem to have disallowed HTTP1.0 access (so Akamai sends the 'Forbidden' response).

I've updated the advforecast2.php script to V3.14 31-Mar-2015 to use HTTP1.1 access, and it works again.

Standalone users: download from the script page.
V3 template users: use the update tool page for Base-USA, Plugin-*, 31-Mar-2015 query.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub, WeatherSnoop, WeatherCat
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP