2013-01-11, 01:43 PM
I have installed MyBB into a subdirectory of a domain hosted on the same machine as another domain.
The domain I am using for MyBB is NOT the primary domain - it points to a folder under the primary domain.
Here is my folder structure:
/ROOT
/ROOT/secondary domain (this is the domain use to access the site)
/ROOT/secondary domain/forum (this is where MyBB lives)
Everything was working at one point in this configuration, but now I have some odd behavior.
When I go to the admin console - I enter http://secondary domain/forum/admin
When the MyBB admin goes to load - it changes the url to http://secondary domain/secondary domain folder name/forum/admin.
And I cannot log in. It appears somewhere along the way MyBB registered the folder path rather than the URL path.
How do I fix this?
I have the same issue on the general forum with the URL path being redone.
My cookie settings are:
<!--
var cookieDomain = ".secondary domain.com";
var cookiePath = "/";
var cookiePrefix = "";
The domain I am using for MyBB is NOT the primary domain - it points to a folder under the primary domain.
Here is my folder structure:
/ROOT
/ROOT/secondary domain (this is the domain use to access the site)
/ROOT/secondary domain/forum (this is where MyBB lives)
Everything was working at one point in this configuration, but now I have some odd behavior.
When I go to the admin console - I enter http://secondary domain/forum/admin
When the MyBB admin goes to load - it changes the url to http://secondary domain/secondary domain folder name/forum/admin.
And I cannot log in. It appears somewhere along the way MyBB registered the folder path rather than the URL path.
How do I fix this?
I have the same issue on the general forum with the URL path being redone.
My cookie settings are:
<!--
var cookieDomain = ".secondary domain.com";
var cookiePath = "/";
var cookiePrefix = "";