[support] GNU License displayed instead of home page

Steve Edwards killshot91 at comcast.net
Wed Jul 23 20:04:05 UTC 2008


I'm actually on a subdomain (i.e. cms-qa.mysite.com).

Victor Kane wrote:
> Do you have a DNS entry for www.mysite.com? <http://www.mysite.com?>?? 
> Does it work for mysite.com <http://mysite.com> (without www)?
>
>
> On Wed, Jul 23, 2008 at 4:37 PM, Steve Edwards <killshot91 at comcast.net 
> <mailto:killshot91 at comcast.net>> wrote:
>
>     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 at comcast.net> <mailto:killshot91 at comcast.net>
>>>     To: Drupal Support <support at drupal.org> <mailto:support at 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 <http://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 <http://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 ------------
>>
>>
>>
>>       
>
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080723/728142a3/attachment.htm 


More information about the support mailing list