Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21 Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21
 

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

Problem with the redirect, bridging cpg1.4.10 & pbpBB-2.0.21

Started by Adrienne, December 01, 2006, 05:19:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adrienne

Help please ...

I have the following issue when trying to bridge coppermine and pbpBB-2.0.21:

With the bridge enabled, I can login OK via the bb and am already logged-in at the gallery too (as expected)
BUT if  I hit logout at the gallery (or login when not already logged-in)  I get an incorrect redirect (too many '../'s)

logout gives me
http://www.kuroiwebdesign.com/clients/photocentric/forum/login.php?logout=true&sid=4459e633f51fffc55926bb108e8970fe&redirect=../../../clients/photocentric/gallery/


These are completely fresh installs with the latest downloads today
- users and data are there to only check the install and integration.




Coppermine install: http://www.kuroiwebdesign.com/clients/photocentric/gallery
Forum install: http://www.kuroiwebdesign.com/clients/photocentric/forum

Coppermine version: cpg1.4.10
Forum version: pbpBB-2.0.21
Test user account: Ade / test

BridgeManager settings:
Forum URL:      http://www.kuroiwebdesign.com/clients/photocentric/forum
Relative path to your BBS's config file:    ../forum/
Use post-based groups?:    0

Any help very much appreciated

Regards
Adrienne

Nibbler

I get

You don't have permission to access /clients/photocentric/forum/login.php on this server.

Probably mod_security.

Adrienne

yes sorry, I should have said, that's the error I'm getting

... it seems to be the redirect going too far back up the tree.

instead of just                   ../gallery                                  (as specified in the bridge info)
or the full path                   www.kuroiwebdesign.com/clients/photocentric/gallery
it's trying to get at             /clients/photocentric/gallery/       (which isn't a valid path)

I must've set something up wrong so that the redirect is screwed up
                                       redirect=../../../clients/photocentric/gallery/

I suspect it has something to do with the depth of my directory structure to get to the dirs for the gallery and forum.

... I'm trying to reproduce the problem on my local machine then I can search the pathnames in the php files.

Regards
Adrienne

Nibbler

That is the correct path, the issue is with mod_security blocking the request. Check with your host.

Joachim Müller


Adrienne

yes, great, problem fixed

My host sorted out the mod_security, and it works fine now.

Thankyou for your speedy responses

Regards
Adrienne