Posted on: 03/08/03 03:55pm
By: Anonymous (Howie)
Posted on: 03/08/03 07:09pm
By: Anonymous (Anonymous)
Posted on: 03/08/03 07:16pm
By: Anonymous (Anonymous)
Posted on: 03/08/03 07:18pm
By: Anonymous (Anonymous)
Posted on: 03/08/03 07:36pm
By: dougm
Posted on: 03/08/03 07:40pm
By: dougm
Posted on: 03/08/03 11:13pm
By: rawdata
if (isset ($HTTP_SERVER_VARS['HTTP_HOST']) &&
!empty ($HTTP_SERVER_VARS['HTTP_HOST'])) {
preg_match ("///([^/]*)/", $_CONF['site_url'], $server);
if (strcasecmp ($HTTP_SERVER_VARS['HTTP_HOST'], $server[1]) != 0) {
// this may be a case of a www. vs. non-www. URL ...
if (!empty ($QUERY_STRING)) {
$query = '?' . $QUERY_STRING;
} else {
$query = '';
}
echo COM_refresh ($_CONF['site_url'] . '/index.php' . $query);
exit;
}
}
This should stop the constant cycling. The redirect was added because of a www versus non-www issue. In config.php, we enter the site's url either with or without the www. If someone enters the alternate way, they won't be recognized as being signed in. The redirect gets around this problem. If you can't use it though, you'll need to "fix" your cookies. I explained the problem in this post[*1] . Let me know if you need more detailed instructions.
Posted on: 03/09/03 12:24am
By: Anonymous (Anonymous)