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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    164
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Legin76

    Legin76 Well-Known Member

    Joined:
    Dec 11, 2007
    Messages:
    164
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Latest cPanel Update causes 404 errors

    Thank you.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page