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
It's because http://62.30.33.103/gallery is resolving to 192.168.1.6 I cannot see the gallery atall.
So you're running your own webserver, huh? You shouldn't.
:-X Joachim