Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just found another solution which seems to be a better solution than just removing this rule. I’m sure it’s in there for a reason…

    I change this block:

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    to:

    RewriteCond %{ENV:REDIRECT_STATUS} !^$ [OR]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    Adding the top line, did the trick and presented a 404 error page (from Apache).

    Cheers!

    Hi,

    I think I found tour support request at the MU forums. I just wanted to update the forum over here, too.

    The suggested solution to return 400 errors and not 500 for non-existing directories is to search for:

    RewriteRule . – [L]

    in your .htaccess file and to comment it out:

    #RewriteRule . – [L]

    This solved the problem for me. But the question is, if this is breaking something else? It seems to work for me so far….

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar