Recent Topics

1 Jun 03, 2010 03:38    

My b2evolution Version: 3.3.3

b2evolution version: 3.3.3
OS: Ubuntu
Apache
PHP5

I just installed b2evolution and got everything running. Immediately after running install.php but before creating a blog, I noticed something odd: when another machine on my LAN tried to access the blog it would display but all the links were absolute (instead of relative) with 127.0.0.1 as the base address. As a result, I could only create a new blog from the machine with b2evolution installed.

(In other words, I could pull up the main page using a remote computer but no links worked because they'd be http://127.0.0.1/XXXXX.php)

So I figured that was a quirk of the system due to not yet having a blog. I proceeded to create a blog using the host machine, got it setup, and can access it using the host.

When I use another machine on my LAN, it doesn't work. Basically, it forwards the URL from http://192.168.1.6 to http://127.0.0.1/XXXXX.php and obviously the remote machine won't find anything since it isn't the host.

I've gone through the log in apache and it's successfully connecting without any errors. I think it's just that b2evolution is using 127.0.0.1 as an absolute URL for everything. (i.e. it's not a firewall problem)

So the net result is that the software works as long as no other computer ever needs to access the blog, which isn't very helpful :( .

Anyone have suggestions about what I need to do to fix this problem? I've looked at the available config files in apache and the php5 config files but haven't found anything suspicious. I've also tried every choice of URL configuration in the blog admin without any success.

2 Jun 04, 2010 02:48

You probably didn't correctly specify the url during installtion.
It uses the url defined in your config file. Check conf/_basic_config.php, look for $baseurl.

3 Jun 05, 2010 02:36

iceblock wrote:

You probably didn't correctly specify the url during installtion.
It uses the url defined in your config file. Check conf/_basic_config.php, look for $baseurl.

That fixed it. Thanks!


Form is loading...