Hi
Don't know if this has been covered elsewhere - tried a search but probably didn't enter the right search terms
I'm setting up a small website that I hope to have with subdomains for myself, friends, family etc (i.e., user.mydomain.com, user2.mydomain.com etc). Each user will be able to upload pictures to their own galleries from their home computers.
I'm allowed one MySQL database for the domain, and was wondering if this is something that others have already done, and if so, would be glad if someone could point me in the direction of the appropriate thread(s).
Cheers
Posts: 8194
Um, what do you want to do?
Posts: 2
Sorry :D I'd like to know if this works (subdomains etc) with Gallery, and if so, are they any guides or anything on how I can set it up.
For instance, I can use a login script (PHP, say) that can create a new user on the database for this person. Then, once I've created a subdomain for the new user (newuser.mydomain.com), how do I link the Gallery MySQL database into this subdomain - is it just a matter of linking the username on the database to the images as the user uploads them, using the login name as an ID?
Posts: 3473
Gallery 1.x doesn't use mysql. So the easiest way to do this is set up a separate copy of the gallery code, pointing to a separate album directory for each subdomain.