Author Topic: Access is denied  (Read 1715 times)

0 Members and 1 Guest are viewing this topic.

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Access is denied
« on: October 13, 2011, 02:59:11 PM »
I get this error when I try to incorporate a page from my own server in to frame on my main weather page (that's on another server)

What could be wrong and how do I resolve this?

Code: [Select]
Detailed information about the error on the website

 User Agent: Mozilla/4.0 (compatible; MSIE 8.0, Windows NT 5.1; Trident/4.0;. NET CLR 2.0.50727;. NET CLR 3.0.4506.2152;. NET CLR 3.5.30729;. NET4.0C,. NET4.0E)
 Timestamp: Thu, 13 Oct 2011 18:52:04 UTC


 Message: Access is denied.

 Line: 124
 Characters: 3
 Code: 0
 URI http://www.axelvold.net/
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus

Offline C5250

  • Forecaster
  • *****
  • Posts: 840
    • Local weather
Re: Access is denied
« Reply #1 on: October 14, 2011, 12:12:49 AM »
I seem to recall that you where playing around with htaccess... I'd start by renaming that to see if that is the issue.
Precious little in your life is yours by right and won without a fight.

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Access is denied
« Reply #2 on: October 14, 2011, 03:18:33 AM »
I dont think thats the issue.

Because I do get the page inside my frame, but I also get that error.
Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus

Offline C5250

  • Forecaster
  • *****
  • Posts: 840
    • Local weather
Re: Access is denied
« Reply #3 on: October 14, 2011, 07:29:22 PM »
An access denied message means that the server is configured not to allow access to the requested url, either to all, to specific addresses. or to all but specific addresses. There are only two places that can be done, the Apache conf file and htaccess.

Check the server log. My guess is there will be a message something like:
Quote
date/time [error] [client xxx.xxx.xxx.xxx] client denied by server configuration: requested url


Precious little in your life is yours by right and won without a fight.

Offline Curly

  • Forecaster
  • *****
  • Posts: 724
    • Michiana Weather
Re: Access is denied
« Reply #4 on: October 14, 2011, 07:34:28 PM »
Are you using the full url in an include function for this frame?

Offline Axelvold

  • Forecaster
  • *****
  • Posts: 1704
    • Axelvold's weather and photo
Re: Access is denied
« Reply #5 on: October 15, 2011, 04:19:00 AM »
Are you using the full url in an include function for this frame?

This is what I use.

Code: [Select]
<a target="ifr" href="http://xx.xxx.xxx.xxx/Weather_webcam_videos/index.php">Previous Weather Videos</a>
I do get access to the page, and nothing in the server log.

An access denied message means that the server is configured not to allow access to the requested url, either to all, to specific addresses. or to all but specific addresses. There are only two places that can be done, the Apache conf file and htaccess.

Check the server log. My guess is there will be a message something like:
Quote
date/time [error] [client xxx.xxx.xxx.xxx] client denied by server configuration: requested url



Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus