Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache Configuration Strange Behaviour

Discussion in 'EasyApache' started by PhilYonge, Feb 16, 2017.

  1. PhilYonge

    PhilYonge Registered

    Feb 16, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I wonder i someone might be able to help me please. I decide to optimize my Apache configration.

    I currently have:

    CLOUDLINUX 6.8 x86_64 kvm – server WHM 62.0 (build 10)

    I changed the value for Max Request Workers to a more suitable value and saved the new setting.

    All of my Wordpress & Joomla website home pages returned a forbidden error message:

    You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    Interestingly I have just one website which is just static HTML files and also returned the same error. I checked the public_html folder for this static HTML website and saw an htaccess file with one line in it:

    RewriteEngine on

    On deleting this htaccess file the static files website worked again.

    I then changed the value for Max Request Workers in Apache configuration back to its default value and saved it. I Still received access denied errors. I recompiled Apache & PHP and still received access denied errors.

    I later discovered that if I enabled FollowSymLink then all of my websites returned to normal.

    My hosting company said that there is nothing to worry about. Does anyone know why this has happened and is there anything that may need fixing please as I don't understand why O have to have FollowSymLink enabled now for my CMS websites to work properly.

    Many thanks.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You can review /usr/local/apache/logs/error_log when receiving the 403 error code in your browser to see the specific error message and help determine the specific reason it's occurring.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice