开发者

MediaFire forbidden error when adding <script... lines in code sample

I am trying to add a code sample to a self hosted mediawiki page, but every time I try to add this and save the page I get a Forbidden error stating "You don't have permission to access /index.php on this server.".

The code sample is:

 <script src="jquery/jquery-1.6.1.js" type="text/javascript" charset="utf-8"></script>

 <script src="jquery/placeholder/jquery.placeholder.js"></script>

 <link rel="stylesheet" href="jquery/uniform/uniform.default.css" type="text/css" media="screen" />
 <script src="jquery/uniform/jquery.uniform.js" type="text/javascript" charset="utf-8"></script>
 <script type="text/javascript" c开发者_Go百科harset="utf-8">

   $(function(){
     $("input, textarea, select, button").uniform();
  });

   $(function() {
   // Invoke the plugin
     $('input, textarea').placeholder();
   });
 </script>

If I remove the <script... and <link... lines it saves the page and displays correctly. Any ideas how I can overcome this error?

Cheers

Steve


Solved.

This was a security setting on my shared host. A quick support email sorted it out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜