http://www.admin78.com/grzzz/article_559_6395_1.shtml  这个网站,如果我在自己的HTML的a标签里使用<a href=”http://www.admin78.com/grzzz/article_559_6395_1.shtml”>显示内容</a>时,点击链接后,无法打开对应的页面,而是提示:ForbiddenYou don't have permission to access /member_pic_559/files/grzzz/html/article_6395_1.shtml on this server.Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.   这个问题怎样可以解决?谢谢。用jquery的load也无法打开。

解决方案 »

  1.   

    改成这样试试:<a href='javascript:void(0)' onclick="window.location.href='http://www.admin78.com/grzzz/article_559_6395_1.shtml'">显示内容</a>
      

  2.   

    应该是对方的服务器做了盗链之类的验证,,,不允许直接从别的服务器跳转到网站的链接内部。楼上的window.location.hrefwindow.open("...");都可以
      

  3.   

    刚才又试了下,才发现问题没有解决掉。刚才能打开的是我用地址栏方式开过的页面,如果用没开过的页面,onclick="window.location.href='XXXX.html'"的方式和onclick="window.open('XXXX.html')"的方式,都要报403的错误。
      

  4.   

    补充下。2楼朋友的方法,在IE6下,将href="javascript:void(0)"改写成href="##"后,页面就可以正常打开了。但firefox下无法正常打开,报403错误。