RE:- Integration phpbb 2.0.11 Login Issues RE:- Integration phpbb 2.0.11 Login Issues
 

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

RE:- Integration phpbb 2.0.11 Login Issues

Started by foggy75, February 13, 2005, 02:52:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

foggy75

http://62.30.33.103

http://62.30.33.103/gallery

User/Pass test:test

when i get redirected it goes to my internal ip address 192.168.1.6 instead of the external wan  ip

Bridge

// database configuration
define('PHPBB_DB_NAME', 'xxxxxx'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'xxxx'); // The username to use to connect to the da
tabase
define('PHPBB_DB_PASSWORD', 'xxxx'); // The password to use to connect to t
he database

init.inc.php

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/');

cpg_redir

<?php
if (!$_SERVER['HTTP_HOST']) {
 $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
 $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>

Many Thanks







Nibbler

It's because http://62.30.33.103/gallery is resolving to 192.168.1.6 I cannot see the gallery atall.

Joachim Müller

So you're running your own webserver, huh? You shouldn't.

:-X Joachim