|Posted: Tue, 2005-07-12 16:19|
I do a lot of virtual hosting in Apache, and I'd like to be able to set up just one instance of Gallery, but have it serve different sets of galleries via different domains. Ideally, I'd just add something like this to the config of each virtual host:
Alias /gallery/ /my/shared/gallery/installation
Or perhaps set some PHP config per domain.
As far as I can see, Gallery can only have one album directory, which is stored in config.php; this means that to have a separate set of albums for a different domain, I'd need to install an instance of Gallery under that domain. For 10-20 domains, that will get pretty boring when it's time to upgrade !
Have I missed something obvious here, or is support of virtual hosts not an easy thing to do ?