Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:00 pm EDT

Geeklog Forums

Cannot login: watch out for port based virtual hosts (bug report?)


Status: offline

dreness

Forum User
Newbie
Registered: 08/06/03
Posts: 11
caffeinated
I tried to configure geeklog to be hosted in a port based virtualhost (eg. www.blah.com:4242). The problem I ran into is that cookies never get sent, so I could not log in (though the credentials I supply are correct, and the user shows up in \'who\'s online\'). In order to use a port based virtual host, one would need to set something like: $_CONF[\'site_url\'] = \'http://blah.com:4242\'; This repeatably results in inability to log in for me, even if the vhost is set up properly (as evidenced by the fact that I can access the site at that url). When I change that value such that it does not use the port based vhost, I can log in normally. I spent an hour troubleshooting this, so hopefully you won\'t have to Wink -andre
 Quote

Darryl

Anonymous
curious

I tried to configure geeklog to be hosted in a port based virtualhost (eg. www.blah.com:4242). The problem I ran into is that cookies never get sent, so I could not log in (though the credentials I supply are correct, and the user shows up in 'who's online'Wink.

In order to use a port based virtual host, one would need to set something like:
$_CONF['site_url'] = 'http://blah.com:4242';



So is there any fix for this?
 Quote

Status: offline

dreness

Forum User
Newbie
Registered: 08/06/03
Posts: 11
That would be a question for the developers. In my case, I work around it by not using a port based vhost Smile
 Quote

Darryl

Anonymous
indescribable
Drats. I know that with Postnuke you can do this...I\'m just wondering what could be the actual cause of this, and what would I have to do to fix this. I don\'t have a choice on my local pc, I have to use port based virtual host.
 Quote

Darryl

Anonymous
excited
finally found the answer to this problem when searching the forums today with just the word \'port\'. Here\'s the post. Click Me As the above post says: Change the cookiedomain to your domain, for dyndns.org users... yoursite.dyndns.org and change the site_url to reference the port you are running on: $_CONF[\'site_url\'] = \'http://yoursite.dyndns.org:81\'; Works for me Smile
 Quote

All times are EDT. The time is now 05:00 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