在浏览器打开 IP 或域名,不能引导到 wordpress 的欢迎初始页面,而是打开了“Apache2 Default Page”: This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.
If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.
咋办??也没说怎么替换 index.php 的文件,这里不能发图片的吗
1
eason1874 2022-05-25 22:19:30 +08:00
|
3
efcndi 2022-05-25 23:12:58 +08:00
是首先服务器阿帕奇的配置环境得支持才行,自己嫌麻烦不容易搞定就弄个第三方的一键安装配置的代码执行。
|
4
eason1874 2022-05-25 23:15:50 +08:00
@Chaconne 配置重写是必须的。不会配置,你复制 #basic-wp 那段进去替换就好了。话说回来,你 VirtualHost 配置好没,我怀疑你连这都没还配置
|
5
Chaconne OP @eason1874 昨晚把服务器删除了重新按教程配置了一个,能够正常打开网站了,但是,今天中午重启了服务器,又变成了阿帕奇的默认页面,咋办
|