[support] GNU License displayed instead of home page

Laura Scott pinglaura at gmail.com
Wed Jul 23 20:20:12 UTC 2008


You might just add a global redirect pointing your www. subdomain to  
the main domain.

  # To redirect all users to access the site WITHOUT the 'www.' prefix,
   RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
   RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

Laura

On Jul 23, 2008, at 12:54 PM, Steve Edwards wrote:

> 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
>
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080723/3bda1825/attachment.htm 


More information about the support mailing list