1 blots Dec 06, 2006 21:23
3 blueyed Dec 08, 2006 00:51
What about using "Absolute URL" like said in the topic you're refering to.
Or do you want to have the _same_ blog(s) on each of the domain?
Your "hack" is the cleanest solution I can think about then.. (apart from having a list of hosts somewhere which would get checked/compared, but which is unneeded with most setups.)
What's wrong about your "hack"? How would you want to configure "the clean solution"?
4 blots Dec 08, 2006 19:09
Yes, I want to have the _same_ blog(s) on each of the domains.
This solution works very well for me, nothing wrong with this hack at all. I've been testing it and It works very well.
I was checking to see if there is a way to do this without modifying the php file. For example an option in the url parameters to "Use dynamic http_host name in base url".
This is really a nice piece of software!! I have tried to use several other blog systems and was not able to get this working. Thank you!
5 blueyed Dec 08, 2006 20:03
You're welcome.
I would not call this a "hack". It's an advanced/specialized setup.. :)
I found a solution to my problem in this feature request
http://forums.b2evolution.net/viewtopic.php?t=8949
A cleaner solution would be most welcome but this hack of _basic_config.php does what I am looking for:
this allows the $baseurl to be any domain which can reach it.