[drupal-devel] Cache sid

Julian Bond julian_bond at voidstar.com
Tue Mar 1 14:33:18 UTC 2005

I have a test drupal 4.51 at http://localhost/bikeweb

So in conf.php I have
$base_url = "http://localhost/bikeweb";

In bootstrap.inc function page_set_cache()
cached pages are saved at
$base_url . request_uri()

and Apache is reporting via function request_uri()
$_SERVER['REQUEST_URI'] = '/bikeweb/'

So the cached page gets set in the cache table with a cid of
if the cache has to be rebuilt, I then start getting assorted errors 
because the path is now wrong.

This doesn't look right to me although it will only fail on 
installations that are not in the root of the url.

Julian Bond Email&MSM: julian.bond at voidstar.com
Webmaster:                 http://www.ecademy.com/
Personal WebLog:          http://www.voidstar.com/
M: +44 (0)77 5907 2173      T: +44 (0)192 0412 433
S: callto://julian.bond/

More information about the drupal-devel mailing list