phpStudy configure the site can not solve the access problem (locally www.xx.com access)

1, configure the site: Open phpStudy-> Other options menu -> Site domain management

 

 2. Configure site: Open phpStudy-> Other options menu -> Open hosts (www Access Key)

3. In the Profile vhosts.conf apache, the following configuration, delete Options FollowSymLinks ExecCGI

 

 

4. Open phpStudy-> Other options menu -> phpStudy Settings -> Allow directory listing tick

 

5, find the file under the Apache open httpd.conf, remove the front row 171 (not necessarily required)

 

 

 

 6, restart phpStudy can access it: http: //www.yopdo.com/ module / controller / method name

 

Guess you like

Origin www.cnblogs.com/chenxi188/p/11719125.html