Apache 403 Forbidden error

I added additional folder for browser to access, Apache encountered and returned error: 403 Forbidden, Forbidden You don’t have permission to access /pub/ on this server.   searched the solution, 1, changed the httpd.conf folder access attribute, still not working,  Require all granted 2, changed SELinux, changed two booleans, still not working, ‘httpd_enable_homedirs’ boolean and ‘httpd_read_user_content’ boolean […]

Apache CGI Perl error encountered and resolved

Tested the Apache CGI perl encountered quite a few problem and solved, 1, configure the /etc/httpd/conf/httpd.conf uncomment the line as: AddHandler cgi-script .cgi .pl   get the the access right of the CGI directory, add below lines, <Directory “/var/www/html/cgi”> Options +ExecCGI AllowOverride None Order allow,deny Allow from all </Directory>   Restart the httpd /etc/init.d/httpd restart […]