Recent Topics

1 Sep 30, 2007 16:03    

My b2evolution Version: Not Entered

Have just installed version 2.0.1, and cannot configure my baseurl for users on my network and users outside my network. I host my own server on a local network with an ip address of 192.168.x.x. My local network has an external IP address (from the cable company) of 71.25.x.x.

If I define $BASEURL as 71.25.x.x/b2e/blogs, outside users who connect to my blog see the skin properly, but local users get a blog with the default "no skin" text view. If I configure the baseurl as 192.168.x.x/b2e/blogs or localhost/b2e/blogs, local PCs see the skin properly, but external users get a blog with the ugly default text view.

Two other applications on this server work properly with both inside and outside users. What am I doing wrong with B2E? Why is it that both groups get to the correct blog entries (the data), but the skin is not working for one group or the other?

-larry

2 Sep 30, 2007 16:08

You could try cheating :-

$baseurl = ( preg_match( '~192\.168\.xx\.xx~', $_SERVER[ 'SCRIPT_URI' ] ) ? '192.168.xx.xx' : '71.25.xx.xx' );

¥


Form is loading...