-2 php dns public-html public-folders openshift
嗨,我在这里是openshift新手用户,之前我使用cpanel进行托管,我想切换到openshift,我问的是如何更改文档根目录?如果之前在cpanel上是Home/public_html/thelifestylelist.在openshift上打开Home/public_html/thelifestylelist.com/public?(我的索引php在公共目录上)希望下面的图片可以澄清我的问题.谢谢.
对不起,我使用外部链接为我的形象,需要至少15声誉附加图像..
小智 5
这是OpenShift搜索根目录的顺序
IF php/ dir exists THEN DocumentRoot=php/
ELSE IF public/ dir exists THEN DocumentRoot=public/
ELSE IF public_html/ dir exists THEN DocumentRoot=public_html/
ELSE IF web/ dir exists THEN DocumentRoot=web/
ELSE IF www/ dir exists THEN DocumentRoot=www/
ELSE DocumentRoot=/
Run Code Online (Sandbox Code Playgroud)
所以你只需添加任何这个文件夹.
| 归档时间: |
|
| 查看次数: |
3140 次 |
| 最近记录: |