Closed Bug 349045 Opened 19 years ago Closed 19 years ago

Easily support multiple installations of Hendrix on the same docroot

Categories

(Webtools Graveyard :: Hendrix, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Assigned: justdave)

Details

Attachments

(1 file, 1 obsolete file)

We have a need to have multiple installations of Hendrix posting to different newsgroups. Since the changes to config are so minor it made sense to me to put them as environment variables in the Apache config, and have Hendrix just read the environment, so that way we can have multiple vhosts pointing at the same docroot for the code and each still doing their own thing.
Attached patch Patch v1 (obsolete) — Splinter Review
Assignee: gerv → justdave
Status: NEW → ASSIGNED
Attachment #234254 - Flags: review?(gerv)
Attached patch Patch v2Splinter Review
This one has the correct pathname for the skin directory on the default skin. It occurs to me though that they're probably going to need some minor template changes, too... what's the best way to do that, formats like we do in Bugzilla?
Attachment #234254 - Attachment is obsolete: true
Attachment #234257 - Flags: review?(gerv)
Attachment #234254 - Flags: review?(gerv)
Comment on attachment 234257 [details] [diff] [review] Patch v2 r=gerv. It would be sad if you needed to fork the templates. Can you give more details of what might be required? Yes, we could do it through formats or, if you were forking them all, through yet another environment variable. Gerv
Attachment #234257 - Flags: review?(gerv) → review+
Oh, I see. Things like the product dropdown and, er, the text :-) But if you are forking both the skin and the templates, the advantage of a single install goes way down - because most things are different. You then get the question: why not just have two installs in parallel directories, and you can customise the files at will? Gerv
Yeah, we cut them a branch. This might still be useful for keeping your checkout clean compared to CVS though. :) Checking in index.cgi; /cvsroot/mozilla/webtools/hendrix/index.cgi,v <-- index.cgi new revision: 1.8; previous revision: 1.7 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: