[development] The www-subdomain (WAS: Re: Patching settings.php)

Morbus Iff morbus at disobey.com
Fri Aug 4 18:09:34 UTC 2006


> base_url is not quite an acceptable solution.  Consider a site with base_url 
> http://www.example.com/?q=user.  I provide my username and password, login 
> get a cookie, etc.  Then I get forwarded to example.com (no www) and I find I 
> am not logged in.  My cookie only works for www.example.com.

Right, in which case, you'd use the provided rewrite rules within the 
.htaccess (which you were referred to from the new docs for base_url) to 
manually force all your visitors to whatever domain you'd like.

-- 
Morbus Iff ( united we're bland )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus


More information about the development mailing list