dpi96151 2019-02-07 14:32
浏览 79

托管文件夹结构

I want to move a Laravel app/website from localhost to a live hosting server but I got confused or I'm just plane stupid. After all the searches and documentation that I've found online, about the folder/file structure, everyone seems to have this format:

/var/www/html;

I have a hosting plan on one.com and if I look at the advanced settings i see that the File system path is /customers/a/6/c/mywebsite.one//httpd.www/ .

Now my question is: How are the folders on my host in relation with the ones from what everyone else has? Where does the /var and /www begin. I'm scared that I will do something stupid because I've never had to deal with this kind of stuff before. Sorry in advance if this is a stupid question. A bit of help greatly appreciated. Thank you!

LE: One thing that I just can't find is that public_html folder that every "ultimate guide" speaks about. ... but I guess I must start reading about Apache HTTPD.

  • 写回答

1条回答 默认 最新

  • dongmangsha7354 2019-02-07 17:17
    关注

    SOLVED

    I just ssh into my host and after few cd .. and ls I found out what is going on. In the file manager in "cPanel" on one.com the folder that you have access to is httpd.www aka public_html. But by ssh I was able to see the whole /customers/a/6/c/mywebsite.one//httpd.www/ so mywebsite.one has 3 subfolders: httpd.private, httpd.www and tmp

    So now I know that I must put my Laravel folder in the httpd.private and the public folder from Laravel in httpd.www, plus doing the correct routing.

    Hopefully someone will find this useful.

    Have a nice time further.

    Thank you

    评论

报告相同问题?

悬赏问题

  • ¥30 eclipse开启服务后,网页无法打开
  • ¥30 雷达辐射源信号参考模型
  • ¥15 html+css+js如何实现这样子的效果?
  • ¥15 STM32单片机自主设计
  • ¥15 如何在node.js中或者java中给wav格式的音频编码成sil格式呢
  • ¥15 不小心不正规的开发公司导致不给我们y码,
  • ¥15 我的代码无法在vc++中运行呀,错误很多
  • ¥50 求一个win系统下运行的可自动抓取arm64架构deb安装包和其依赖包的软件。
  • ¥60 fail to initialize keyboard hotkeys through kernel.0000000000
  • ¥30 ppOCRLabel导出识别结果失败