我在很多方面还是新手,希望有人能帮助我解决我的问题。
我在本地主机上使用yii2
. 在本地主机上它运行安静。当我将整个内容复制到远程服务器并尝试打开它(通过https://remoteurl.com)时,我再次登陆我的本地主机。是否有我必须适应的配置文件?
我已经检查了我的配置文件,但/frontend/, /common/ and /backend/
找不到任何重定向。
在我的index.html
里面也有这段代码,但我输入了
<meta http-equiv="refresh" content="0; URL=http://192.168.77.199/advanced/frontend/web/">
但我把它改成
<meta http-equiv="refresh" content="0; URL=https://remoteURL.com/advanced/frontend/web/">
仍然当我尝试打开 url 时,它会将我重定向到本地服务器。
此致
墨色风雨