Posted on: 08/06/03 02:36pm
By: dreness
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
-andre
Re:Cannot login: watch out for port based virtual hosts (bug report?)
Posted on: 08/26/03 11:58pm
By: Anonymous (Darryl)
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';
So is there any fix for this?
Re:Cannot login: watch out for port based virtual hosts (bug report?)
Posted on: 08/27/03 12:25am
By: dreness
That would be a question for the developers. In my case, I work around it by not using a port based vhost
Re:Cannot login: watch out for port based virtual hosts (bug report?)
Posted on: 08/27/03 03:52pm
By: Anonymous (Darryl)
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.
Re:Cannot login: watch out for port based virtual hosts (bug report?)
Posted on: 08/30/03 01:01am
By: Anonymous (Darryl)
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