We finally figured it out. For some reason, the .htaccess file was explicity overriding DirectoryIndex to point to license.txt. I have no idea why, since I just uploaded the standard Drupal file (or at least I thought I did). But at least it's fixed.
Thanks for your suggestions.
Steve
lists-drupal wrote:
you can have this directive at both the global as well as the virtual host level. make certain that you're looking at the correct one(s). [i don't remember if this directive is allowed in the .htaccess file, but you may want to double check there. you may also have a conf.d directory (under httpd). the php.conf file should have this set correctly for what you're after, but check other of the .conf files in that directory.]
check your server logs to make certain that you're where you think you are when being served the gnu license page.
------------ Original Message ------------
Date: Wednesday, July 23, 2008 12:37:47 PM -0700 From: Steve Edwards killshot91@comcast.net To: Drupal Support support@drupal.org Subject: Re: [support] GNU License displayed instead of home
page
Here is what already exists in httpd.conf:
DirectoryIndex index.php index.html index.htm index.shtml index.php4 index.php3 index.phtml index.cgi
I also added
DirectoryIndex index.php
to my VirtualHost section and reloaded httpd, but no change.
Steve
lists-drupal wrote:
You need to "fix" the httpd.conf
DirectoryIndex
directive.
If your default directory indexes are always index.php, then you need to set that as the first (and maybe only) entry in the list. If you want index.php to be used if it's there, but index.htm/.html used if it's there but no index.php, then you should have something like:
DirectoryIndex index.php index.html index.htm
[you'll need to restart apache after making this change.]
- Rick
------------ Original Message ------------
Date: Wednesday, July 23, 2008 11:54:33 AM -0700 From: Steve Edwards killshot91@comcast.net To: Drupal Support support@drupal.org Subject: [support] GNU License displayed instead of home page
As some of you may remember from a previous thread, I had some Apache issues on a new site with clean URLs. We eventually got the httpd.conf file updated correctly (we were missing FollowSymLinks), and we can now get to all the links - except the home page. So basically, it's reversed from before. When I go to www.mysite.com, I get the text of the GNU public license instead of the home page. If I go to mysite.com/index.php, I get the home page just fine. I realize this is more of an Apache issue, but I'm curious to see if anyone has come across this issue before and if they know how to fix it.
Thanks.
Steve
------------ End Original Message ------------
------------ End Original Message ------------