[英]Failed to load resource: the server responded with a status of 403 (Forbidden) after Deployment Css & Js not working
1- I have Created a Web application & Locally its Css & Js are working Superbly Fine . 1-我已经创建了一个Web应用程序,并且本地的Css和Js都在Superbly Fine上工作。
2 -But Now i Deployed my Project on server & the CSS & JS is totally bursted after deployment . 2-但是现在我在服务器上部署了我的项目,并且部署后CSS和JS完全破裂了。 3 -Why this is happening What is the Problem .
3-为什么会这样?问题是什么。 the Paths are Correct for the CSS & JS.
CSS和JS的路径正确。
Please Help me . 请帮我 。
Regards Deepak Dubey(Software Eingineer) 关于Deepak Dubey(软件工程师)
An HTTP response code of 403 Forbidden means you (the browser) don't have the right credentials to access the ressource. HTTP响应代码403 Forbidden表示您(浏览器)没有正确的凭据来访问资源。
Then, you may want to check the filesystem access rights AND the web server (IIS in your case ?) on the target environment. 然后,您可能要检查目标环境上的文件系统访问权限和Web服务器(在您的情况下为IIS?)。
If the ASP files are showing fine, I believe that : 如果ASP文件显示正常,我相信:
I'm not a Windows regular user and I won't be aware of the specific manipulations to allow those resources to be delivered. 我不是Windows的普通用户,因此我不会知道允许传递那些资源的特定操作。 If you don't know how to do that, I'll let the next Windows master reader coming here explain it to you.
如果您不知道该怎么做,请让我的下一个Windows Master阅读器向您解释。
Anyways, you may want to update your question tags. 无论如何,您可能要更新您的问题标签。 This has nothing to do with JavaScript or AngularJS, this related to IIS web server and/or filesystem authorizations.
这与JavaScript或AngularJS无关,后者与IIS Web服务器和/或文件系统授权有关。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.