Using Drupal 6 with a ".info" TLD causes the front page to come as "Page not found". So www.site.com/index.php will work, but www.site.com/ just displays Drupal's "Page not found" message.

The problem appears to be caused by line 6 of the .htaccess file where it hides certain extensions from hackers. One of those extensions is "info" - causing the problem with .info domains.

So changing
<FilesMatch "\.(engine|inc|info|install|module|

to this fixes the problem
<FilesMatch "\.(engine|inc|install|module|

The undesired side effect is it makes Drupal less secure by allowing anyone to read the .info files.

This problem has been reported on Dreamhost and other hosting providers:
http://drupal.org/node/192765#comment-647279

Here is info on my hosting provider where I experience the problem:
Web server Apache/1.3.33 (Unix) mod_auth_pam/1.1.1 FrontPage/5.0.2.2635 PHP/4.4.8

Also I have clean url enabled. The .htaccess file is the default one that come with Drupal except I uncommented the "RewriteBase / " line.

Comments

soupp’s picture

Not sure what would be the issue yet, but please see: http://drupal.org/node/192765#comment-752306

Hope it will help.

michaelp6of7’s picture

I have the "page not found" errors but the suggested fix does not work for my .org site. We are using Drupal 6.2 with SiteGround hosting service. I have a few 6.2 sites and this is the only one with the issue so far...although it is the my only .org site.

ahales’s picture

Version: 6.0 » 6.2

I was having the same problem with a .info tld. My site is hosted at Hostgator. Its part of a multi-site install. All the other sites (.net, .com) works fine. When I remove '|info|' from the FilesMatch string in .htaccess the .info site worked. I am not sure what would have caused the problem with michaelp6of7's .org site though, as I wasn't able to replicate it.

jeeves’s picture

Status: Active » Closed (fixed)