NYCPHP Meetup

NYPHP.org

[joomla] IP Hosting and Cached Host Name

Hans Zaunere lists at zaunere.com
Fri Mar 6 11:14:41 EST 2009


> $live_site is supported... Just fill it in...

Yeah, apparently this is the only solution.  I looked through the code too,
and JURI is using HTTP_HOST, which won't exist in this case.  Seems as
though it could use SERVER_NAME or at least failover to it.

H

> > So for a site that isn't using name virtual hosting, I'm having issues
with
> > Joomla caching erroneous hostnames during link creation/etc.
> >
> > For example, if someone points badman.badplace.com to www.mysite.com and
> > happens to hit a page that hasn't been cached yet, the URLs generated
now
> > point to http://badman.badplace.com/some-url which is obviously a bad
thing.
> >
> > I understand that now $live_site variable isn't supported.  How can this
be
> > resolved?




More information about the Joomla mailing list