Home >Backend Development >PHP Tutorial >Moved site, pictures are not displayed

Moved site, pictures are not displayed

WBOY
WBOYOriginal
2016-08-04 09:21:25913browse

Upload the website, the database connection is normal, and there is no problem with the picture connection, but I don’t have permission to access the picture report directly using the connection, but the picture folder is 777, and the picture file is 755. I feel dizzy and can’t find the root cause at all. Please answer and help.

Reply content:

Upload the website, the database connection is normal, and there is no problem with the picture connection, but I don’t have permission to access the picture report directly using the connection, but the picture folder is 777, and the picture file is 755. I feel dizzy and can’t find the root cause at all. Please answer and help.

Access the image directly to see if there is a firewall protecting the resource

I don’t know when the firewall was configured to block all picture files. I was also drunk

It should be nginx hotlinking

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