Skip to main content

change cpanel main domain root folder forbidden

Comments

6 comments

  • DennisMidjord
    Check the permissions and owner on the document root folder. Incorrect permissions/owner is most likely the cause of this.
    0
  • quietFinn
    You should see the exact cause of that error in /etc/apache2/logs/error_log
    0
  • cPRex Jurassic Moderator
    Good ideas from @DennisMidjord and @quietFinn - let us know if that helps!
    0
  • James Eco
    as quietFinn suggest I checked the apache error log and I found that there is no index page in public_html. so I added it but still, domain is forbidden and this is my new error log [Fri Feb 04 09:07:48.429574 2022] [core:crit] [pid 3416599:tid 47147236005632] (13)Permission denied: [client client_ip:59648] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://server_ip:2083/ [Fri Feb 04 09:07:48.429710 2022] [core:crit] [pid 3416599:tid 47147236005632] (13)Permission denied: [client client_ip:59648] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://server_ip:2083/ [Fri Feb 04 09:07:48.690363 2022] [core:crit] [pid 3416599:tid 47147240208128] (13)Permission denied: [client client_ip:59648] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://www.domain_name/sapp-wp-signon.php?pass=dsjk3ld4iajvsjigmvadqz33uydx0mtc [Fri Feb 04 09:07:48.690505 2022] [core:crit] [pid 3416599:tid 47147240208128] (13)Permission denied: [client client_ip:59648] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://www.domain_name/sapp-wp-signon.php?pass=dsjk3ld4iajvsjigmvadqz33uydx0mtc [Fri Feb 04 09:07:56.462321 2022] [core:crit] [pid 3347627:tid 47147227600640] (13)Permission denied: [client client_ip:59650] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://server_ip:2083/ [Fri Feb 04 09:07:56.462493 2022] [core:crit] [pid 3347627:tid 47147227600640] (13)Permission denied: [client client_ip:59650] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://server_ip:2083/ [Fri Feb 04 09:07:56.709369 2022] [core:crit] [pid 3347627:tid 47147227600640] (13)Permission denied: [client client_ip:59650] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://www.domain_name/ [Fri Feb 04 09:07:56.709467 2022] [core:crit] [pid 3347627:tid 47147227600640] (13)Permission denied: [client client_ip:59650] AH00529: /home/cpanel_user/public_html/domain_name/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/cpanel_user/public_html/domain_name/' is executable, referer: https://www.domain_name/ Thank u
    0
  • James Eco
    sorry to bother but DennisMidjord was right as it was a permissions issue. Thank u very much for your help
    0
  • cPRex Jurassic Moderator
    I'm glad the logs helped get that working!
    0

Please sign in to leave a comment.