Home >Backend Development >PHP Tutorial >centos7 apahce can only display the test page, how to solve it?

centos7 apahce can only display the test page, how to solve it?

WBOY
WBOYOriginal
2016-08-04 09:22:161423browse

In centos7 environment, Apache2.4.6, when accessing the set site, the default test page is always displayed.
Has anyone encountered this problem?

Reply content:

In centos7 environment, Apache2.4.6, when accessing the set site, the default test page is always displayed.
Has anyone encountered this problem?

Has Apache restarted?

1. First confirm whether the www directory is pointed correctly.
2. Confirm whether the configuration file is configured correctly.
3. Whether to restart after modifying the configuration file.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn