0

I am trying to load a webpage inside an iframe but all times I am getting the same error:

Not Found

The requested URL /test/app/www.google.com was not found on this server.

Apache/2.2.17 (Ubuntu) Server at lira.tlmat.unican.es Port 80

I am sending the url to my page in parameters (mypage.html?page=www.google.com)

But it always try to open a webpage inside my server. I want to load an external page.

This is the error I get:

GET http://myserver.es/test/app/www.google.com 404 (Not Found) newsPage.html?page=www.google.com:57
(anonymous function) newsPage.html?page=www.google.com:57
c jquery-1.9.1.min.js:3
p.fireWith jquery-1.9.1.min.js:3
b.extend.ready jquery-1.9.1.min.js:3
H
Biribu
  • 3,615
  • 13
  • 43
  • 79

1 Answers1

1

You might need "http://" at the start of the URL in your iframe, to indicate it is an external URL. Could you try appending "http://" to the page GET parameter?

Tiago
  • 1,984
  • 1
  • 21
  • 43