Changing apache ports
Hi I've got a small problem related to the apache listening port.
I originally set up apache to listen on port 81 (there was a good reason, honestly). After some time running a tw I changed the port to 80. Everything works ok, until I go to log out. The logout link itself is ok - using default port, and the session does get logged out but then redirects to the :81 address, which obviously errs out.
As far as I can tell the absolute url includes $url_port which is set to the port number in $_SERVER which clearly, should be 80.
Any thoughts?
BTW for any devs tiki-logout.php includes the comment:
// RFC 2616 defines that the 'Location' HTTP headerconsists of an absolute URI
but the are many files that include:
//this script may only be included - so its better to die if called directly.
if 'SCRIPT_NAME',basename(FILE" class="wiki wikinew text-danger tips strpos">$_SERVER'SCRIPT_NAME',basename(FILE !== false) {
header('location: index.php');
exit;