一、Forbidden You don‘t have permission to access this resource.
Problem Description:
After modifying the location of the website data directory in the configuration file (default: DocumentRoot "/var/www/html"), after modifying selinux=permissive , when accessing in the browser, an error of denying access to resources still occurs.
Solution:
Modify the configuration file. (Configuration file path: /etc/httpd/conf/httpd.conf)
before fixing:
After modification:
After modification, visit with a browser: