• Hi,

    Have searched the numerous posts on this error but nothing that seems to match my issue.
    When I browse to the homepage of the site (internally hosted) it loads fine but following any of the links results in an Internal Server error.

    I see in the logs, like many others, 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.

    Is this really going to solve my problem or is it a red herring?
    One thing I have noticed is that the permalinks have changed back to default from custom – would this have any affect?

    Thanks,

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter muffintop

    (@muffintop)

    OK, really worried now…

    I get this in the rewrite.log:
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f574a8/initial/redir#9] (1) [perdir C:/] internal redirect with /bcp/index.php [INTERNAL REDIRECT]
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] add path info postfix: C:/Server/Apache2/htdocs/bcp/bcp -> C:/Server/Apache2/htdocs/bcp/bcp/index.php
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] strip per-dir prefix: C:/Server/Apache2/htdocs/bcp/bcp/index.php -> Server/Apache2/htdocs/bcp/bcp/index.php
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] applying pattern ‘^index\.php$’ to uri ‘Server/Apache2/htdocs/bcp/bcp/index.php’
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] add path info postfix: C:/Server/Apache2/htdocs/bcp/bcp -> C:/Server/Apache2/htdocs/bcp/bcp/index.php
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] strip per-dir prefix: C:/Server/Apache2/htdocs/bcp/bcp/index.php -> Server/Apache2/htdocs/bcp/bcp/index.php
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (3) [perdir C:/] applying pattern ‘.’ to uri ‘Server/Apache2/htdocs/bcp/bcp/index.php’
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (4) [perdir C:/] RewriteCond: input=’C:/Server/Apache2/htdocs/bcp/bcp’ pattern=’!-f’ => matched
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (4) [perdir C:/] RewriteCond: input=’C:/Server/Apache2/htdocs/bcp/bcp’ pattern=’!-d’ => matched
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (2) [perdir C:/] rewrite ‘Server/Apache2/htdocs/bcp/bcp/index.php’ -> ‘/bcp/index.php’
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (2) [perdir C:/] trying to replace prefix C:/ with /bcp/
    10.90.193.21 – – [28/Sep/2010:13:59:19 +0100] [bcp-test.birmingham.gov.uk/sid#5e8cd0][rid#f675e0/initial/redir#10] (1) [perdir C:/] internal redirect with /bcp/index.php [INTERNAL REDIRECT]

    For some reason something is adding in an extra bcp directory. Server/Apache2/htdocs/bcp/index.php should the correct URL.

    Am not too good with Windows hosting. Avoid it like the plague! You need to first look at that /bcp/index.php and see if there is something in there redirecting but I doubt it.

    Most likely the problem is in the permalinks. As you are on Windows you need to check if .htaccess is enabled on Apache by checking your httpd.conf. Then look at the .htaccess
    According to the error log you posted. Its trying to redirect everything starting with “C:” to “/bcp” which is a UNIX path as you notice the forward slash.
    You might have to disable permalinks. Somepeople have said they can not get it working properly under Windows depending on config.

    Thread Starter muffintop

    (@muffintop)

    Thank you for your response!

    Yes, we had to switch permalinks back to default but still have to do some “fiddling”.
    I did let WordPress generate the .htaccess file but guess it wasn’t generating it correctly for Windows.
    I will look into the formatting of the path.

    Again, thank your response – very helpful!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Internl Server Error’ is closed to new replies.