Results 31 to 39 of 39
Thread: Multi-Domains, Single Install
-
July 27th, 2010, 09:01 AM #31
GeoNewcomer
License Holder
- Join Date
- May 2010
- Posts
- 15
Thanks for everything Jonathan! This will allow us to create the addon's we need while keeping our installation easy to update.
-
December 30th, 2012, 04:13 PM #32
GeoNewcomer
License Holder
- Join Date
- Jun 2010
- Posts
- 23
I tryed adding a code to make that work but not working my code looks as followed
Any Ideas?PHP Code:if ($_SERVER['HTTP_HOST']=='jacked-up.midmobuyandsell.com') {
geoTemplate::addTemplateSet('new_site');
}elseif ($_SERVER['HTTP_HOST']=='midmobuyandsell.com') {
geoTemplate::addTemplateSet('blue_lite_primary');
geoTemplate::addTemplateSet('blue_lite_secondary');
geoTemplate::addTemplateSet('my_templates');
}
Last edited by JohnM; December 30th, 2012 at 04:16 PM. Reason: adding to it
-
January 7th, 2013, 10:06 AM #33
What does the entire file look like? It could be doing things before/after the code you added, not sure. Also when you say "not working", what is it doing specifically?
Some hosts you have to use something different than HTTP_HOST, it could be that is the case for you, or something else might be going on, hard to say though without seeing the problem in action or knowing more details.Jonathan Foote
PHP Developer
Geodesic Solutions, LLC
Resources:
Support Helpdesk | User Manual Wiki
geoaddons.com (3rd Party Addons, Template Sets, & more)
Follow us on Twitter!
Circle us on Google+
Like us on Facebook
-
February 27th, 2013, 08:21 AM #34
GeoUser
License Holder
- Join Date
- Sep 2011
- Posts
- 73
Suppose you want to have users come to domain1.com or domain2.com, rather than as subdomains of mydomain.com, you don't mind purchasing an extra Geocore license to do it, but you want users to have a single log in so that their login is coordinated across multiple domains (on the same linux server): What's the best way to do it?
-
February 27th, 2013, 10:04 AM #35
Last edited by jonyo; February 27th, 2013 at 10:16 AM.
Jonathan Foote
PHP Developer
Geodesic Solutions, LLC
Resources:
Support Helpdesk | User Manual Wiki
geoaddons.com (3rd Party Addons, Template Sets, & more)
Follow us on Twitter!
Circle us on Google+
Like us on Facebook
-
February 27th, 2013, 10:27 AM #36
GeoUser
License Holder
- Join Date
- Sep 2011
- Posts
- 73
-
February 27th, 2013, 10:33 AM #37
GeoUser
License Holder
- Join Date
- Sep 2011
- Posts
- 73
-
February 27th, 2013, 01:47 PM #38
It works fine across different domains for just syncing up users. The auto-login does not work though, that is just because of how cookies work, it can't set a cookie for a different domain name so it can't log you in for the other domain name automatically. So the same user would be on both sites, but you would need to log into the second site even if you are already logged into the first site. If the 2 are on the same domain, it will auto-log you in just fine to all installations on that domain.
That is not typical, we would take it case by case depending on the specific circumstances as each person's needs will be different. So in short, you would just need to contact us if you want to set up something special like this.Jonathan Foote
PHP Developer
Geodesic Solutions, LLC
Resources:
Support Helpdesk | User Manual Wiki
geoaddons.com (3rd Party Addons, Template Sets, & more)
Follow us on Twitter!
Circle us on Google+
Like us on Facebook
-
February 28th, 2013, 04:24 AM #39
GeoUser
License Holder
- Join Date
- Sep 2011
- Posts
- 73



Reply With Quote
