In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000993 [In-Portal CMS] Data Management bug report always 2011-02-05 08:26 2011-09-19 16:09
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000993: Unable to login to Admin Console, when web-server is installed on non-default port
Description I have In-Portal installation on 8080 port instead of 80 port, which is default.

Because of that I have to specify port each time I visit website like this: http://www.site-name.com:8080/admin/

Unfortunate effect of that is that $_SERVER['HTTP_HOST'] variable also contains that port, but since it's used for cookie setting no cookies are set at the end.


I propose to strip value of PORT constant from end of SERVER_NAME constant (which is set to $_SERVER['HTTP_HOST'] by default). It's also safe for IPv6 protocol.
Additional Information Unfortunate side effect is inability to login to Admin Console, since it's uses cookie-based session.

Also today $_SERVER['HTTP_PORT'] variable is no longer provided to PHP (tested on Apache 1.3, Apache 2.2, PHP 4.4, PHP 5.2.1) and it's being replaced by $_SERVER['SERVER_PORT'] in attached patches.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker