Advanced search  

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]

Pages: [1]   Go Down

Author Topic: RE:- Integration phpbb 2.0.11 Login Issues  (Read 2827 times)

0 Members and 1 Guest are viewing this topic.

foggy75

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
RE:- Integration phpbb 2.0.11 Login Issues
« on: February 13, 2005, 02:52:43 pm »

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






« Last Edit: February 13, 2005, 03:11:12 pm by foggy75 »
Logged

Nibbler

  • Guest
Re: RE:- Integration phpbb 2.0.11 Login Issues
« Reply #1 on: February 13, 2005, 07:05:12 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: RE:- Integration phpbb 2.0.11 Login Issues
« Reply #2 on: February 14, 2005, 08:05:13 am »

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

 :-X Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.