Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: One installation, multiple domains?  (Read 2977 times)

0 Members and 1 Guest are viewing this topic.

edmz

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
One installation, multiple domains?
« on: May 25, 2004, 09:14:38 pm »

I have 3 domains where I would like to install CPG and trying to minimize the administrative chores I would like to install CPG only once and to share that installation among the 3 domains.

Is this possible ? (I know this can be done with postnuke and since CPG plays nice with it I woner....)

thanks in advance!
Logged

RatKing

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Personal website
Re: One installation, multiple domains?
« Reply #1 on: May 26, 2004, 01:29:42 pm »

If everyone domain usses the same database this should be very easy, if not then it could be a little bit of a problem but you could make a minor change to the config file where it loads one of multiple configs based on the subdomain that the user is looking at.

Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: One installation, multiple domains?
« Reply #2 on: May 26, 2004, 02:03:00 pm »

If everyone domain usses the same database this should be very easy
Exactly the opposite if I read the first request right - you will need three different databases and three different config files to have three different galleries from the same install...

This hasn't been done before but you could just symlink every file to a original install except the config and the album dir

That said I reasonablely assure you that three installs of stable CPG codebase would be easier to maintain than the above hackery

Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: One installation, multiple domains?
« Reply #3 on: June 01, 2004, 06:19:59 am »

a "barebone" install of coppermine (without the docs folder, with only one language and one theme) will consume much less than 1 MB, so webspace shouldn't be an issue.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.