• <i id='aZQbT'><tr id='aZQbT'><dt id='aZQbT'><q id='aZQbT'><span id='aZQbT'><b id='aZQbT'><form id='aZQbT'><ins id='aZQbT'></ins><ul id='aZQbT'></ul><sub id='aZQbT'></sub></form><legend id='aZQbT'></legend><bdo id='aZQbT'><pre id='aZQbT'><center id='aZQbT'></center></pre></bdo></b><th id='aZQbT'></th></span></q></dt></tr></i><div id='aZQbT'><tfoot id='aZQbT'></tfoot><dl id='aZQbT'><fieldset id='aZQbT'></fieldset></dl></div>

    <legend id='aZQbT'><style id='aZQbT'><dir id='aZQbT'><q id='aZQbT'></q></dir></style></legend>

      <tfoot id='aZQbT'></tfoot>
      • <bdo id='aZQbT'></bdo><ul id='aZQbT'></ul>

        <small id='aZQbT'></small><noframes id='aZQbT'>

      1. 在我的 index.php 中加载 CSS 和 JS 等资源时出现错误 403

        ERROR 403 in loading resources like CSS and JS in my index.php(在我的 index.php 中加载 CSS 和 JS 等资源时出现错误 403)
        1. <i id='oKGiS'><tr id='oKGiS'><dt id='oKGiS'><q id='oKGiS'><span id='oKGiS'><b id='oKGiS'><form id='oKGiS'><ins id='oKGiS'></ins><ul id='oKGiS'></ul><sub id='oKGiS'></sub></form><legend id='oKGiS'></legend><bdo id='oKGiS'><pre id='oKGiS'><center id='oKGiS'></center></pre></bdo></b><th id='oKGiS'></th></span></q></dt></tr></i><div id='oKGiS'><tfoot id='oKGiS'></tfoot><dl id='oKGiS'><fieldset id='oKGiS'></fieldset></dl></div>
          <tfoot id='oKGiS'></tfoot>

              • <bdo id='oKGiS'></bdo><ul id='oKGiS'></ul>

                <legend id='oKGiS'><style id='oKGiS'><dir id='oKGiS'><q id='oKGiS'></q></dir></style></legend>
              • <small id='oKGiS'></small><noframes id='oKGiS'>

                  <tbody id='oKGiS'></tbody>

                  本文介绍了在我的 index.php 中加载 CSS 和 JS 等资源时出现错误 403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用的是 Linux、Elementary OS,并在 opt 中安装了 lampp.

                  I'm in Linux, Elementary OS, and installed lampp in opt.

                  我的 CSS 和 JS 无法加载.当我通过浏览器检查我的页面时.控制台说加载资源失败:服务器响应状态为 403(禁止)我真的很确定我的目录是正确的.

                  My CSS and JS won't load. When I inspect my page through browser. The console says Failed to load resource: the server responded with a status of 403 (Forbidden) I'm really sure that my directories are correct.

                  这是错误

                  推荐答案

                  您需要更改文件夹 bootstrap/css 的权限.您的超级用户可能可以访问它,但这并不意味着 apache 或 nginx 可以访问它,这就是您仍然需要更改权限的原因.

                  You need to change permissions on the folder bootstrap/css. Your super user may be able to access it but it doesn't mean apache or nginx have access to it, that's why you still need to change the permissions.

                  提示:我一般都是把apache/nginx的用户组设为那种文件夹的所有者,并给它775的权限.

                  Tip: I usually make the apache/nginx's user group owner of that kind of folders and give 775 permission to it.

                  这篇关于在我的 index.php 中加载 CSS 和 JS 等资源时出现错误 403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <tfoot id='ranTX'></tfoot>

                    <small id='ranTX'></small><noframes id='ranTX'>

                    <legend id='ranTX'><style id='ranTX'><dir id='ranTX'><q id='ranTX'></q></dir></style></legend>
                        <bdo id='ranTX'></bdo><ul id='ranTX'></ul>
                        <i id='ranTX'><tr id='ranTX'><dt id='ranTX'><q id='ranTX'><span id='ranTX'><b id='ranTX'><form id='ranTX'><ins id='ranTX'></ins><ul id='ranTX'></ul><sub id='ranTX'></sub></form><legend id='ranTX'></legend><bdo id='ranTX'><pre id='ranTX'><center id='ranTX'></center></pre></bdo></b><th id='ranTX'></th></span></q></dt></tr></i><div id='ranTX'><tfoot id='ranTX'></tfoot><dl id='ranTX'><fieldset id='ranTX'></fieldset></dl></div>
                            <tbody id='ranTX'></tbody>