Home > Backend Development > PHP Tutorial > After setting up wamp30 apache vhost, the directory is correct, but 404 is prompted.

After setting up wamp30 apache vhost, the directory is correct, but 404 is prompted.

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:01:51
Original
1180 people have browsed it

After php7 came out, wamp3.0 version also added php7 and apache versions. However, after installing it, configuring vhost, I found that when opening the project address, it prompted 404. But the path was opposite.

Later, I wrote a under the test directory index.php or index.html can be opened;

But removing the index file will result in a 404 error. But the project's file directory cannot be browsed.

Solution: Modify the apche configuration file:

LoadModule autoindex_module modules/mod_autoindex. so

My problem is solved by this one solution,

If there are others, you can check this,http://blog.csdn.net/zhuizhuziwo/article/details/8016018

The above has introduced the wamp30 apache vhost. After setting up, the directory is correct, but a 404 prompt is displayed, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template