【问题标题】:Linux settings of bitrix site folderbitrix 站点文件夹的 Linux 设置
【发布时间】:2020-04-26 10:15:38
【问题描述】:

我看了视频https://www.youtube.com/watch?v=27t1QWuu06Q&list=PLY4rE9dstrJyqAWUVlT7PLGjdmPEwhfg6&index=3&t=262s。主机上站点的路径是C:\OSPanel\domains\localhost\mysite,虚拟机上站点的路径是192.168.0.18\home\bitrix\www\mysite。如果我将下载的html 文件夹复制到\home\bitrix\www,则显示站点

enter image description here

如果我复制到文件夹\home\bitrix\www\mysite,那么

enter image description here

enter image description here

告诉我如何在向下一层复制文件夹时让它显示出来。

【问题讨论】:

    标签: php html linux content-management-system bitrix


    【解决方案1】:

    html 目录复制到mysite 目录后,您应该在浏览器中通过192.168.0.18/mysite/html 访问它。

    实际上/home/bitrix/www 是您网站的根目录,所以当您将192.168.0.18/html 移动到mysite 目录后请求时,根目录中没有html 目录,您将得到404错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-26
      • 1970-01-01
      • 1970-01-01
      • 2011-12-18
      • 2021-06-09
      • 2011-08-25
      • 2017-03-31
      • 2015-11-22
      相关资源
      最近更新 更多