website construction

How to handle phpstudy forbidden 403 errors

After downloading phpstudy from the official website, select the installation directory. After the installation is completed, the default home page can be opened normally. Later, the website program is pasted into ww […]

article directories

After downloading phpstudy from the official website, select the installation directory. After the installation is completed, the default home page can be opened normally. Later, after pasting the website program into the www directory, I found that no matter what I open, it will be 403 Forbidden. Later, I saw from the Internet that I originally needed to set the allowed directory list: phpstudy settings-> Allow directory lists, and then it's OK. It's very strange. Normally, directory lists are not allowed to be used as a security measure to not list directories when there is no default home page. However, why 403 appears is really strange. No specific reason has been found, but it can be accessed normally. Let's record it for now

phpstudy forbidden 403错误的处理方法