From: Jeff D. <da...@da...> - 2001-11-11 15:45:12
|
On Sun, 11 Nov 2001 14:13:16 +0100 "Tara Star" <te...@cl...> wrote: > I usually don't put the "www" in front of my domain name, like > http://climbtothestars.org/newwiki/ > > Unfortunately, once I am in the wiki, I get an "automatic" www. It's > probably got to do with the server settings, but it might make it easier > for me to explain to the sysadmin if I know where/how BASE_URL is defined. > > Where does it happen? If you don't want to bug your sysadmin, you can set SERVER_NAME in index.php. Change //define('SERVER_NAME', 'some.host.com'); to define('SERVER_NAME', 'climbtothestars.org'); If you don't set SERVER_NAME, it defaults (in lib/config.php) to the $SERVER_NAME which contains Apache's idea of the canonical server host name. This is probably set by a line like: ServerName www.climbtothestars.org somewhere in an Apache config file. |