forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: thesailorsaid on May 03, 2009, 07:42:55 pm

Title: Bridging with XMB1.9.10 between 2 subfolders that also happen to be subdomains?
Post by: thesailorsaid on May 03, 2009, 07:42:55 pm
I'm currently looking to bridge Coppermine 1.4.21 with my out-of-the-box installation of XMB 1.9.10, which looks to be possible to bridge. However, before I started uploading and changing stuff, I read over the documentation to figure out what was going to happen and what I needed, I hit a bit of a snag. It says that both the forum and Coppermine need to be subfolders in order for the cookies to work properly, and also gave this very clear illustration:

Quote
This will work:
Bulletin board: http://yourdomain.com/board/
Coppermine: http://yourdomain.com/gallery/    

This won't work:
Bulletin board: http://board.yourdomain.com/
Coppermine: http://gallery.yourdomain.com/

The way my site is set up, all of the different parts of the site (media downloads, forum, and soon to be the gallery! :D) have their own subdomains. The board is amb.thedeathbat.com, the gallery is sharecentral.thedeathbat.com. According to ^that, veryyyyy clearly not going to work...

However, when I created the subdomains, each subdomain got its own subfolder on the server, and then I put all the files for the forum/gallery in it. The forum's at thedeathbat.com/amb/ and the gallery at thedeathbat.com/sharecentral. The filepaths seem to be interchangeable live as well. I can put amb.thedeathbat.com/index.php into the browser, and get the forum, or thedeathbat.com/amb/index.php, and get the same thing.

So because of all this, I can see how my situation could still sort of count as a "will work" situation, but at the same time because everyone goes to/uses the subdomains (so much easier to say/remember!), I can appreciate how it could be a definite "won't work" too. Can I have some thoughts on whether or not it would work or what I could do to make it work?
Title: Re: Bridging with XMB1.9.10 between 2 subfolders that also happen to be subdomains?
Post by: Joachim Müller on May 04, 2009, 11:23:29 pm
Try http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain