Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: http://www.mydomain.com vs. http://mydomain.com  (Read 7999 times)

0 Members and 1 Guest are viewing this topic.

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
http://www.mydomain.com vs. http://mydomain.com
« on: January 17, 2008, 06:44:39 pm »

My bridging of Coppermine with phpBB 2.0.22 works fine, but it only works when the forum URL in the bridge wizard is in this form: http://mydomain.com/forum, that means WITHOUT "WWW" in the URL. The users can be logged only in URL http://mydomain.com. If I (or the users) rewrite it to http://WWW.mydomain.com, the Coppermine sees them as unlogged, even if they are logged. I don't know if this can cause some problem in future. Maybe it is only an unimportant detail and it is ok this way, I don't know. But better safe then sorry - so the question is: does anybody run into similar difficulties like me? Might be a problem in Coppermine installation or in in the phpBB?

(I can't give you the link to my page yet, it would only confuse you at this time, because I am trying to reinstall the applications and so on... so it's not working now...)

Logged

Nibbler

  • Guest
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #1 on: January 17, 2008, 06:55:29 pm »

That's how cookies are designed to work. If you want them to work with both then set your forum's cookie domain to .mydomain.com and then clear your cookies.
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #2 on: January 17, 2008, 07:56:58 pm »

"set your forum's cookie domain to .mydomain.com" - that means I should write Forum ULR in the Coppermine Bridge Wizard exactly ".mydomain.com", or whre can I change it like this? (I don't see any entry "forum's cookie domain", so I don't know)

When I am logged through Coppermine (www.mygallery.com), the situation goes as follows:

1. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://www.mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : mygallery.com

With this settings I can be logged through the Coppermine only in http://www.mygallery.com and http://www.mygallery/forum


2. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://www.mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : www.mygallery.com

With this settings I can also be logged through the Coppermine only in http://www.mygallery.com and http://www.mygallery/forum

3. setting
Coppermine 1.4.14 -> Bridge Wizard -> Forum URL: http://mygallery.com/forum
phpBB 2.0.22 -> configuration -> name of domain : www.mygallery.com

With this settings I can be logged through the Coppermine only in http://mygallery.com and http://mygallery/forum
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #3 on: January 17, 2008, 08:05:10 pm »

I tried another hosting where it works. Maybe because of this: if I rewrite URL www.mygallery.com to mygallery.com it is automatically rewritten back to www.mygallery.com. But I don't want to change webhoster because of that...
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #4 on: January 17, 2008, 08:06:18 pm »

(In hosting which I am using - if I rewrite www.mygallery.com to mygallery.com, it remains mygallery.com)
Logged

Nibbler

  • Guest
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #5 on: January 17, 2008, 08:28:26 pm »

'forum's cookie domain' means the cookie domain that you set in your forum. How to redirect as you describe can easy be learnt by a short google search.
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #6 on: January 17, 2008, 08:29:08 pm »

I just find out I have this problem (when users can be logged only on "www.mygallery.com" and not on "mygallery.com" and so on) in Coppermine even without bridging (but only in Coppermine, not phpBB - standalone phpBB works on both).
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #7 on: January 17, 2008, 08:43:34 pm »

So the problem will be somewhere in settings of Coppermine, right?
Logged

Nibbler

  • Guest
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #8 on: January 17, 2008, 08:48:02 pm »

'forum's cookie domain' means the cookie domain that you set in your forum.
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #9 on: January 17, 2008, 09:00:39 pm »

I know you wrote that, but after that I wrote: I just find out I have this problem in Coppermine even WITHOUT bridging. Only in Coppermine. Standalone phpBB works on both (with "www" or without it). For that reason I thought it means that the problem is somewhere in Coppermine settings.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: http://www.mydomain.com vs. http://mydomain.com
« Reply #10 on: January 18, 2008, 08:01:47 am »

(I can't give you the link to my page yet, it would only confuse you at this time, because I am trying to reinstall the applications and so on... so it's not working now...)
That's just nonsense. Do as suggested in the sticky thread on this board. Post real links instead of dummy placeholders.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.