Internal Server Error on subdomains
On one account I am getting Internal Server Error on 2 (of 5) subdomains. My Apache error log shows the following:
Can anyone explain to me what is causing this and what the solution might be?
[Sun Apr 23 04:19:17.841427 2017] [core:error] [pid 29822] [client 12.12.123.123:57197] 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., referer: url.com: Search lyrics
Can anyone explain to me what is causing this and what the solution might be?
-
is it a wordpress website ? , check the .htaccess file . 0 -
No these sub domains does not contain Wordpress sites. One subdomain has a simple HTML only site, and the other subdomain is empty. I tried to make a new subdomain for testing and it gives the Internal Server Error straight away. You are onto something though, there is something odd with the .htaccess. The subdomains (giving the error) have none, but the main domain/site does. It runs a url shortening service. I've managed to sort it out by making a .htaccess file in my subdomain directory. 0 -
Hi, Check the .htaccess file outside the public_html directory also if it is present, what is the content in it. Also, for testing, please add in the below code in the .htaccess and see what it gives to you. RewriteCond %{ENV:REDIRECT_STATUS} 200 0 -
I've managed to sort it out by making a .htaccess file in my subdomain directory.
Hello, That's typically the best way to address the issue, as it ensures the subdomain uses the .htaccess file in it's own document root. Thank you.0
Please sign in to leave a comment.
Comments
4 comments