Here's how I can reproduce the problem:
- stop the service
- drop the database
- create an empty database
- install openacs (well, reload the data model)
After I do this, the site seems to work again... but then,
- go to site map
- set parameters of acs-kernel
- change forceHostP to 1
- click OK at bottom of page
Then the site starts redirecting