Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 01:36 pm EDT

Geeklog Forums

defualt Admin account not working could be cookiedomain issue


Status: offline

T-BoNe

Forum User
Newbie
Registered: 10/11/07
Posts: 2
Guys, let me give you a quick synopsis on how my site is configured. My site is hosted on my personal fios account by verizon and in such they drop inbound port 80. I have created a custom dyndns port redirection DNS name called annapolislan.webhop.org what it does is automatically redirect the user to my real dns name infosec.homeunix.org and also redirects the connection to port 8080 then my firewall then takes the 8080 connection and changes the port to 80 before forwarding to my internal ip address and then switches it back on its way back out. Now when I edit my config.cfg file and change the $_CONF['site_url'] = 'http://annapolislan.webhop.org/annaplan'; to $_CONF['site_url'] = 'http://192.168.44.22/annaplan'; (my servers internal ip address) I can login to the site. When I change it back to http://annapolislan.webhop.org so everyone else on the web can get to it the admin account stops working. I believe $_CONF['cookiedomain'] may be the culprit but after changing it to around I get the same behavior. Below is the snippet from the config.php

Text Formatted Code
// +---------------------------------------------------------------------------+
// | SESSION SETTINGS                                                          |
// |                                                                           |
// | cookie_ip will store md5(remoteip + randomnum) as the session ID in the   |
// | cookie. This is more secure but will more than likely require dialed up   |
// | users to login each and every time.  If ipbasedsessid is turned off       |
// | (which it is by default) it will just store a random number as the        |
// | session ID in the cookie.                                                 |
// |                                                                           |
// | default_perm_cookie_timeout is how long you want the permanent cookie     |
// | to persist for (in seconds).  This can be overridden by the user in       |
// | their user prefs if they want.  If you set the default to 0, users will   |
// | have to log in again once their session expired.                          |
// |                                                                           |
// | session_cookie_time is how long you want the session cookie to persist    |
// | for.  Only really useful in scenarios where you don't want to allow       |
// | permanent cookies                                                         |
// +---------------------------------------------------------------------------+

$_CONF['cookie_session']                = 'gl_session';
$_CONF['cookie_name']                   = 'geeklog';
$_CONF['cookie_password']               = 'password';
$_CONF['cookie_theme']                  = 'theme';
$_CONF['cookie_language']               = 'language';

$_CONF['cookie_ip']                     = 0;
$_CONF['default_perm_cookie_timeout']   = 28800;
$_CONF['session_cookie_timeout']        = 7200;
$_CONF['cookie_path']                   = '/';
$_CONF['cookiedomain']                  = '.webhop.org'; // e.g. '.example.com'
$_CONF['cookiesecure']                  = 0;
 
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Have you tried this as cookiedomain annapolislan.webhop.org ?
 Quote

Status: offline

T-BoNe

Forum User
Newbie
Registered: 10/11/07
Posts: 2
I had tried that once before to no avail, but I tried it agaon for kicks, same problem

Text Formatted Code
$_CONF['cookie_session']                = 'gl_session';
$_CONF['cookie_name']                   = 'geeklog';
$_CONF['cookie_password']               = 'password';
$_CONF['cookie_theme']                  = 'theme';
$_CONF['cookie_language']               = 'language';

$_CONF['cookie_ip']                     = 0;
$_CONF['default_perm_cookie_timeout']   = 28800;
$_CONF['session_cookie_timeout']        = 7200;
$_CONF['cookie_path']                   = '/';
$_CONF['cookiedomain']                  = 'annapolislan.webhop.org'; // e.g. '.example.com'
$_CONF['cookiesecure']                  = 0;

// Geeklog keeps track of when a user last logged in. Set this to false
// if you don't want that.
$_CONF['lastlogin']                     = true;
 
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Actually I am arriving at this: http://infosec.homeunix.org:8080/annaplan/

There must be more wrong I suppose... :kickcan:
 Quote

All times are EDT. The time is now 01:36 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content