For Solutions "You do not have permission to access this resource." Error message appears in the build site

  I use a raspberry pie equipped with a system configuration php + apache ubuntu site environment, but the error message appears when the site visit the Web site at initial setup, to the effect that there is no access to search the Internet a series of tutorials, are explained apache2.conf configuration and other configuration files to be modified, but did not solve the problem.

  Or from the error itself + "does not have access rights to the resource", all the files can try to www folder to give certain rights (note! Here are all the files, including subdirectories), before I use sudo chmod 777 / www does not solve the problem, open any subdirectories under that directory, find the file permissions did not change, so something, then sudo chmod 777 -R / www , instruction is given to the role of the phrase www file directory All rights under article 777 of all the files and subdirectories in order to test me here, given the 777 highest authority, usually configured extranet site is not recommended for the highest authority, to avoid security problems.

Guess you like

Origin www.cnblogs.com/moegarn/p/12158409.html