Closed Bug 399066 Opened 17 years ago Closed 8 years ago

Remove the 'cookiedomain' parameter

Categories

(Bugzilla :: Administration, task)

3.1.2
task
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: LpSolit, Assigned: mail)

References

()

Details

Attachments

(1 file)

Per our discussions at our last 2 Bugzilla meetings, this param should go away.
If you remove this parameter, it's no longer possible to drive multiple Bugzilla databases instances with one bugzilla installation.

Bugzilla gets confused with the login.
Solution is to have multiple Bugzilla installations.
That would be (in 2.x) 19M of hard drive space per Bugzilla installation? 

I create duplicate installs for, for instance, my test installations, already.
(In reply to comment #1)
> If you remove this parameter, it's no longer possible to drive multiple
> Bugzilla databases instances with one bugzilla installation.
> 
> Bugzilla gets confused with the login.

  This is an interesting point. I think if the PROJECT variable is set, we should perhaps pass the cookiedomain that was used in the Host header.
> I create duplicate installs for, for instance, my test installations, already.

Sure, it is possible to install multiple Bugzilla installations. But this just generates more work for updates and patches. I think that's the reason why the PROJECT variable was introduced.

> This is an interesting point. I think if the PROJECT variable is set, we
> should perhaps pass the cookiedomain that was used in the Host header.

Just append the standard-cookie-domain-Path with the PROJECT-Variable. That's what I do manually now.


> Solution is to have multiple Bugzilla installations.

Even if you have multiple Bugzilla installations the problem persists: The cookie name for for each installation on the same server is identical.
(In reply to comment #5)
> Even if you have multiple Bugzilla installations the problem persists: The
> cookie name for for each installation on the same server is identical.
> 

But the cookie path is different, see the cookiepath parameter, allowing you to have as many Bugzilla installations on the same server without any interference. landfill, our test server, has tens of Bugzilla installations, and there is no interaction between them at all, including cookies.
(In reply to comment #6)
> But the cookie path is different,

  Unless they're all at different virtual hosts.
I'll do this once bug 399067 has been approved, since the patch for the two changes interferes with each other
Assignee: administration → bugzilla
Status: NEW → ASSIGNED
Depends on: 399067
Can someone state definitively whether this change, and the related change to cookiepath, will effectively disable the multi-site PROJECT feature? I've been following the discussion but that point seems unclear.
The PROJECT feature will still work.
Attachment #8642023 - Flags: review?(dylan)
Comment on attachment 8642023 [details] [diff] [review]
bug399066-v1.patch

r=dylan
Attachment #8642023 - Flags: review?(dylan) → review+
To github.com:bugzilla/bugzilla.git
   a460196..c67b3b3  master -> master
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: