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: punbb on other domain  (Read 6428 times)

0 Members and 1 Guest are viewing this topic.

qdinar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
punbb on other domain
« on: April 07, 2009, 10:51:17 am »

hello.
i want to install coppermine-gallery as other user with suexec.
i have my site script at "/" [location] of domain, punbb at /forum/ and want to install coppermine gallery to /foto/ .
to make it working as other user i need to install it to /~foto/ or /~coppermine/ location and [may be] make it opening by /foto/ through proxy.
i could not yet make fcgid php working with userdir but have found a how-to: http://www.localhost.ba/Docs/Apache/UltimatePHPSetup .
if i cannot make it working, i can install coppermine to coppermine.localhost domain and make it opening from mysite.tld/foto/ address through proxy.
how to make bridging working with such installations? can i manually bridge it because bridge manager does not give such ability?

and by the way i do not understand "Relative path to your BBS's config file" field in bridge manager. its explanation is:
Quote
Relative path to your BBS, seen from your Coppermine folder (e.g. "../forum/" if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)
"forum" and "gallery" can be only made with "location" directive of apache. is not "../forum/" file-system path?
Logged

Nibbler

  • Guest
Re: punbb on other domain
« Reply #1 on: April 07, 2009, 01:36:58 pm »

"forum" and "gallery" can be only made with "location" directive of apache. is not "../forum/" file-system path?

Then bridging can't work. Coppermine needs to include() the punbb configuration file and it needs a filesystem path to do that.
Logged

qdinar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: punbb on other domain
« Reply #2 on: April 07, 2009, 03:32:00 pm »

hello.
i have written this with mistake:
Quote
"forum" and "gallery" can be only made with "location" directive of apache.
it should be
"forum" and "gallery" can be made with "location" directive of apache.
(i wanted to say: "forum" and "gallery" can be made also only with "location" directive of apache.)

i have(had) tried to bridge coppermine with this test punbb installation: punbb was on mysite.tld/forum/ and filesystem path of it was /home/mysitetld/public_html/forum/ . coppermine wath in /home/coppermine/public_html/ and was in vhost coppermine.localhost and was made openable(?) from mysite.tld/foto/ address through proxy. i have installed it from mysite.tld/foto/ address and then it worked also from coppermine.localhost address even cookies were correct, as i remember, because proxy translates cookies, but coppermine thought that it is located at coppermine.localhost . then i tried to run bridge manager. i have written to "Forum URL" field "http://mysite.tld/forum/" and to "Relative forum path" - "/forum/" and to "Relative path to your BBS's config file" several paths incorrectly, clicking "back" each time, and then i have written correct path: "../../mysitetld/public_html/forum/" and it has said that that file does not exist. by the way is not it possible to write absolute filesystem path from root there? i have not tried. and i think that may be it is not possible on some servers on some cases because there are some "chroot" installations of apache. after it said that that path does not exist i tried to change permissions by the path, but it did not work.
Logged

qdinar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: punbb on other domain
« Reply #3 on: April 10, 2009, 12:07:57 pm »

hello.

how to bridge coppermine on coppermine.mysite.tld to punbb that is on mysite.tld/forum/ ?

cookie domain can be set to ".mysite.tld" .
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: punbb on other domain
« Reply #4 on: April 11, 2009, 09:19:15 am »

Stop posting dummy placeholder URLs. Do exactly as suggested in the sticky thread "When requesting bridge support - mandatory!" on this sub-board (and as suggested in the docs as well, section "Bridging support") and post real data instead of dummy placeholders. You might want to read as well the section from the preliminary docs for cpg1.5.x that explain bridging issues with sub-domains in more detail: http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain
However, you need to understand that you simply can not bridge between two entirely different domains. You may be able to bridge across sub-domains, depending on the bridge file and the way the sub-domain is set up on your webserver. We can give little advice on webserver setup.
Logged

qdinar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: punbb on other domain
« Reply #5 on: April 12, 2009, 10:39:53 pm »

it works with punbb on coppermine.localhost that can be opened with "mysite.tld/forum/" with proxy.
and it is possible to copy punbb's config.php to other place in file system and use it from there.
also it is needed to make rewrite rule to make "/foto" redirect to "/foto/". this way with apache:
may be install and connect mod_rewrite by linking its file to sites-enabled or with a2enmod command,
these are in mysite.tld vhost:
...
RewriteEngine on
...
RewriteRule  ^/foto$ /foto/ [R]

now i have these problems: if i install modification as said in punbb1.2 bridge file it does not redirect to coppermine but to forum index on logging in and redirects to "http://mysite.tld/forum/http://coppermine.localhost/" after logging out message.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: punbb on other domain
« Reply #6 on: April 13, 2009, 08:57:07 am »

You're being ignored, as you don't do what I told you to do. Read up my previous reply and do exactly as suggested there. I'm not ready to argue about that. If you're on localhost, then post the localhost settings instead of the made-up data.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.