Everything works fine but If I request a non existent page I get an error 500 and not the usual error 404. Anyone can help? I have the .htaccess default file.

Comments

benofsky’s picture

I've seen something similar and find that taking entries out of .htaccess until it goes away usualy help or it is to do with custom error page settings incorrect in /admin/settings. Good Luck
Ben
Benofsky Park.com

vwvitek’s picture

I have exactly the same problem with version 4.7.3 on a 1and1.com managed (dedicated, but no su access) Fedora server. Could be .htaccess.

Moreover, Google Analytics has bounced my site today, because 404 error turns into 500 error.

:(

Any ideas?

vwvitek’s picture

Fixed with help from http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

Devil was in the RewriteBase.

My Drupal is installed in sub-directory under root, but domain is actually pointing directly into that sub-directory.

Solution:
In default .htaccess of ver 4.7.3., section RewriteBase, line 68, uncommented RewriteBase and removed subdirectory info.