punbb on other domain punbb on other domain
 

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]

Main Menu

punbb on other domain

Started by qdinar, April 07, 2009, 10:51:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

qdinar

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:
QuoteRelative 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?

Nibbler

Quote from: qdinar on April 07, 2009, 10:51:17 AM
"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.

qdinar

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.

qdinar

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" .

Joachim Müller

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.

qdinar

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.

Joachim Müller

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.