When the php toolbox configures the second vhost host, it does not take effect and the error "You don't have permission" is reported.
王先生
王先生 2019-09-10 08:39:29
0
1
983

I configured 2 vhosts, one iswww.testcms.comwhich can be accessed normally, and the otherwww.phpbase.comcannot be accessed normally, and an error message is given You don't have permission to access / on this server.

I checked a lot of information online and tried many times

but I can’t figure it out. Can any god help me?


王先生
王先生

reply all (1)
王先生

It’s done, students.

Solution: Drop an index.html file into the project folder and you can access it normally. I don't know the reason either.

Can any other experts explain it?


    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!