Jump to content


wildcard domain names, cookie

cookie

  • You cannot reply to this topic
2 replies to this topic

#1 AlexXx1

    Rookie

  • Active Member
  • 9 posts
  • Gender:Male

Posted 14 January 2012 - 07:00 PM

How can I set up IPBWI to support multiple subdomains?

I am running a Wordpress Network, where I need to integrate IPB through IPBWI.

http://site.com is already set up with http://site.com/forums.
But when integrating IPBWI in e.g. http://sub1.site.com, I need to log in againg through that domain, even though I already logged in with site.com.

Does IPBWI support Wildcard domains, or do I have to specify each domain manually?
And how?

Thanks for all help!

#2 AlexXx1

    Rookie

  • Active Member
  • 9 posts
  • Gender:Male

Posted 14 January 2012 - 07:51 PM

Yep, got it!

In config.inc.php
    if(!defined('ipbwi_COOKIE_DOMAIN')){
        define('ipbwi_COOKIE_DOMAIN','.domain.com');
    }

In IPB cookies settings
Cookies domain: .domain.com

Works like a charm! :)

#3 Rush

    Rookie

  • Active Member
  • 3 posts

Posted 19 January 2012 - 07:57 AM

ty)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users