WDlinux官方论坛's Archiver

charlin 发表于 2017-6-27 00:06

wdcp安装后phpmyadmin打不开显示404最终解决方法

wdcp安装后phpmyadmin打不开显示404最终解决方法,以及禁止IP访问,效果IP访问直接显示空白。

[font=微软雅黑][color=#333333][size=12px]打开:[/size][size=12px]/www/wdlinux/nginx-1.0.15/conf/vhost 下的:00000.default.conf[/size][/color][/font]
[font=微软雅黑][color=#333333][size=12px]把:server_name localhost;  改成:[/size][/color][/font][color=#333333][font=微软雅黑][size=12px]server_name 你的服务器IP;[/size][/font][/color]
重启NGINX即可。

在:[color=#333333][font=微软雅黑][size=12px]/www/web/default 下新建一个空的:index.html[/size][/font][/color]
[color=#333333][font=微软雅黑][size=12px]   IP访问就会直接空白显示[/size][/font][/color]

按上面操作即可完美解决。

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.