为什么我的脚本返回错误500?

时间:2015-07-16 08:28:26

标签: javascript url path

这不是一个真正的问题,但它让我感到困扰:)

长话短说:我的脚本由于源URL而未加载,如:

<script src="http://www.example.com/Content/javascript/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="http://www.example.com/Content/javascript/min/head-full-min.js" type="text/javascript"></script>
....

当我将网址放入浏览器时,显示500内部错误。但是,如果我修改内容&#34;到&#34;内容&#34;,脚本正确加载,一切都很好。 我有两个没有问题的同事(&#34;内容&#34;&#34;&#34;内容&#34;正在为他们工作)。我检查了脚本的路径,如.../Content/javascript/...

解决方案很明显但有没有人对我的问题有所了解?由于这种变化,其他人是否会受到影响:&#34; Conten&#34; - &GT; &#34;内容&#34; ?

PS:我测试了IE 11,Firefox 39&amp; Chrome 43,同样的问题为3

谢谢。

1 个答案:

答案 0 :(得分:0)

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site's server but the server could not be more specific on what the exact problem is.

There are several options you can try to fix it:
1.Reload the web page. You can do that by clicking the refresh/reload button, pressing F5, or trying the URL again from the address bar.
2.Clear your browser's cache. If there's a problem with the cached version of the page you're viewing, it could be causing HTTP 500 issues.
3.Delete your browser's cookies. Some 500 Internal Server Error issues can be corrected by deleting the cookies associated with the site you're getting the error on.

Try these options and check if they seem to make a difference.