Skip to main content

500 Internal Server Error

Comments

6 comments

  • syslint
    Please check the .htaccess rule in your document root, there will be a complected redirect.
    0
  • dreamteamone
    Please see the .htaccess content below: Options -Indexes RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L] RewriteRule ^assets/(.*)$ public/assets/$1 [L] RewriteRule ^avatars/(.*)$ public/avatars/$1 [L] RewriteRule ^wallpapers/(.*)$ public/wallpapers/$1 [L] RewriteRule ^verify-existence$ public/verify.php [QSA,L] RewriteRule ^proxy.php$ public/proxy.php [QSA,L] RewriteRule ^api/v([0-9]*)/(.*)/?$ public/api.php?path_info=$2&api_version=$1 [QSA,L] RewriteRule ^$ public/router.php [QSA,L] RewriteRule ^(.*) public/router.php?path_info=$1 [QSA,L] It's working properly on older server, but it's giving errors on CentOS 7 with cPanel. Thank you!
    0
  • cPanelMichael
    Hello :) This is a common error, mostly seen by WordPress users, but applicable to anyone. This third-party URL helps explain the reason it happens: Apache 2.4 - Request exceeded the limit of 10 internal redirects due to probable configuration error Thank you.
    0
  • Eoler
    AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

    I have the same problem after upgrading Apache/PHP with EasyApache 3.32.10, on a rewrite that looks fine to me: github.com/octobercms/october/blob/master/.htaccess#L31-L68 Confused...
    0
  • cPanelMichael
    Hello :) EasyApache version 3.32.10 includes the following change: Implemented case EAL-2996: Apache 2.4 allows authorization bypasses with misconfigured .htaccess files This change essentially prevents the use of invalid Mod_Rewrite rules in .htaccess files. Internal case EAL-3030 is open to track instances where this happens for valid rewrite rules. Could anyone experiencing this issue with known "valid" rewrite rules open a support ticket using the link in my signature so we take a closer look? Thank you.
    0
  • cPanelMichael
    EasyApache version 3.32.11 removes the rewrite hardening patch from Apache: Implemented case ZC-1506: Remove rewrite hardening patch from Apache You can rebuild Apache via EasyApache to ensure this change is implemented on your system. Thank you.
    0

Please sign in to leave a comment.