[ZBX-4664] can't run two zabbix frontend instances on different ports Created: 2012 Feb 15  Updated: 2017 May 30  Resolved: 2012 Jun 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Martins Valkovskis
Resolution: Fixed Votes: 0
Labels: frontend, ports
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

trying to access two different zabbix frontend installations (1.8 & trunk) on same host, but diffrent ports, thus urls are ~ like :

http://localhost:8884/zabbix
http://localhost:8885/zabbix

as soon as one logs into the second frontend, session is terminated in the first one and so on.



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Feb 16 ]

How it's possible to configure?
Virtual hosts in Apache?

Comment by Alexei Vladishev [ 2012 Feb 24 ]

Cookies are stored per domain with no port included. There is nothing we can do about it.

Comment by richlv [ 2012 Feb 24 ]

it can be configured with virtual hosts, multiple http daemons, port forwarding and probably a hundred other methods

apparently, there might be some way to manipulate Set-Cookie header[1], although google handbook[2] description made it all sound quite non-specified, and it is likely that it wouldn't work in msie anyway.

as such i believe we won't be trying to fix this by that header manipulation - but this should be documented somewhere (it's ok to document for 2.0 only)

maartinjsh, i'll assign this one to you
if anything is unclear, please, ask.

[1] http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific
[2] http://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_cookies

Comment by Martins Valkovskis [ 2012 Feb 27 ]

A note on this behavior added at:

http://www.zabbix.com/documentation/2.0/manual/web_interface

Comment by richlv [ 2012 Feb 27 ]

thanks, closing

Generated at Sun May 04 06:36:49 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.