Skip to main content

403 Forbidden error

Comments

7 comments

  • cPanelMichael
    Hello, The .htaccess rules are blocking access to the domain name. If you want to password protect the website, then you should remove those existing rules and then setup password protection via the following option in cPanel: Directory Privacy - Version 70 Documentation - cPanel Documentation Thank you.
    0
  • Diewoex
    Hello, thanks for the answer, what rules should I delete?
    0
  • cPanelMichael
    Hello, You can remove the entire .htaccess file (unless you are using the existing entries for any additional purpose) and then use the "Directory Privacy" option in cPanel so that it automatically configures the correct rules. Thank you.
    0
  • Diewoex
    Thanks for the response, but even doing what you recommended to me the web keeps showing me that message :c
    0
  • cPanelMichael
    Thanks for the response, but even doing what you recommended to me the web keeps showing me that message :c

    Could you let us know what appears in /usr/local/apache/logs/error_log when that error code appears in your browser? Thank you.
    0
  • Diewoex
    it's the last thing the log shows me. ------------------------------------------------------------------------------------------------------------------------------- [22-Sep-2016 06:56:09 America/New_York] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [22-Sep-2016 08:28:50 America/New_York] PHP Warning: PHP Startup: PDO: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [22-Sep-2016 08:28:50 America/New_York] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [22-Sep-2016 08:28:50 America/New_York] PHP Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [22-Sep-2016 08:28:50 America/New_York] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module Module compiled with module API=20121212 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 --------------------------------------------------------------------------------------------------------------------------------- I'm surprised there's nothing this year. another fact, is that the client only uses the hosting to store your website, and I dedicate that you have added an A record to point to the hosting to visualize your web
    0
  • cPanelMichael
    Hello, That looks like a PHP error_log file. Can you check the Apache error log? It's located at /usr/local/apache/logs/error_log and accessible with root access to the server. Thank you.
    0

Please sign in to leave a comment.