coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: flowmo on July 22, 2007, 08:58:25 AM

Title: php 2.0.22 bridge to subdomain tip
Post by: flowmo on July 22, 2007, 08:58:25 AM
This may not be the right section, but I browsed the FAQ earlier today and didn't see it mentioned.

When bridging a gallery that is in your root, to a phpbb install that is on a subdomain, you must set the cookie domain to ".example.tld"... do not leave it blank, and do not use "forum.example.tld". You also need to leave the proceeding "." as cookies need two periods for all browsers to handle them.

Example site structure:

http://www.example.tld   -  where your album is
http://forum.example.tld  -  your forum install

You would also need to do the reverse for a forum installed at http://www.example.tld and a gallery installed at http://gallery.example.tld