Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Using CPG with SMF over subdomains  (Read 2705 times)

0 Members and 1 Guest are viewing this topic.

Benqo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Using CPG with SMF over subdomains
« on: August 09, 2005, 09:46:43 pm »

Hi,

I planned to create my new structure of my website like this:

hxxp://blog.mydomain.net (s9y 0.8.2)
hxxp://forum.mydomain.net (SMF 1.0.5)
hxxp://img.mydomain.net (CPG gallery 1.3.3)

The s9y plugin to Coppermine is not really a big deal, you can specify the exact domain there. I worry more about SMF and Coppermine, using the same user database over the delivered-with bridge, but installed in different subdomains and physical directories.
The structure is:
Code: [Select]
customerdir/
> blog/
> forum/
> img/
> public_html/

I think the structure is self-describing. Is this possible? Originally, in the documentation it is written that the authentication could be a problem. But I'm pretty sure that someone already solved such a similar problem, it seems, that I'm just to stupid to find the right thread. :)

Regards, Benqo
Logged

Nibbler

  • Guest
Re: Using CPG with SMF over subdomains
« Reply #1 on: August 09, 2005, 09:53:44 pm »

Subdomains are fine, just make sure the cookies are set on .mydomain.net

You'll need to change the udb_redirect function in the bridge file, I have posted a few times on how to do that but it's fairly straightforward if you take a look at the function.
Logged

Benqo

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Using CPG with SMF over subdomains
« Reply #2 on: August 09, 2005, 10:11:12 pm »

Muchas gracias! Merci! Kiitos! Thank you! Dankeschön! Gracie mille! :)

Only one left: is it possible to set a explicit cookie domain in SMF and CPG, too?
Logged

Nibbler

  • Guest
Re: Using CPG with SMF over subdomains
« Reply #3 on: August 09, 2005, 10:14:52 pm »

You can't set cookie domain in coppermine, but you don't need anything to read coppermine's cookies. You need to enable subdomain independent cookies in SMF, and disable database driven sessions.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.