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!

SOLVED Redirects not working after 66.00.4 update

Discussion in 'EasyApache' started by Legin76, Jul 26, 2017.

Tags:
  1. Legin76

    Legin76 Well-Known Member

    Joined:
    Dec 11, 2007
    Messages:
    172
    Likes Received:
    2
    Trophy Points:
    68
    I've just logged into the server and had to complete the feature update for 66.00.4 to log in.

    After this all the Rewrites from htaccess files no longer work. This includes all wordpress sites. Virtually every site on the server uses redirects for the URLs. It does not seem to matter what version of php a site is using. I tried updating it to 66.00.5 but it does not appear to have fixed it.

    I've submitted a ticket (8744893) but thought it was worth posting here too.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like this issue stemmed from custom Apache templates located in the /var/cpanel/templates/apache2_4 directory. The custom templates were missing the appropriate "AllowOverride" entries. Removing the custom templates and rebuilding the Apache configuration file via "/scripts/rebuildhttpdconf" solved the issue.

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

    Legin76 Well-Known Member

    Joined:
    Dec 11, 2007
    Messages:
    172
    Likes Received:
    2
    Trophy Points:
    68
    Excellent service.. thank you.
     
    cPanelMichael likes this.
  4. Haveno

    Haveno Member

    Joined:
    May 1, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Don't work here.. =/
    What's i have to remove?
    The entire directory? /var/cpanel/templates/apache2_4 ?
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please review the following post and let us know if it helps:

    Latest cPanel Update causes 404 errors

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

    Haveno Member

    Joined:
    May 1, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I remove the .default file and run /scripts/rebuildhttpdconf, but nothing happen.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should not remove the default template files. The only files you would move out of the way as a workaround are the ".local" template files. Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look.

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

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