I am in the process of moving the site to a new server - the gallery is being moved from https://www.mancavgeek.co.uk to https://g.mancavgeek.co.uk - it will work in exactly the same way, but will allow me to run some other things alongside it.
I have some interesting plans for this thing, including... well, that would be telling... :D
Tech, server stuff Show more
okay, so I've got just over 1500 pics in this gallery, and the MySQL db comes in at 129Mb.
Thats's, what, ~85Kb of data per photo?
ERROR: And what?
me@testeserver:/etc/apache2/sites-available$ OH FFS! ^facepalm^
me@testeserver:/etc/apache2/sites-available$ sudo cp sub.domain.tld sub.domain.tld.conf
Attaboy! You're really getting the hang of this!
me@testeserver:/etc/apache2/sites-available$ Smeg off!
me@testeserver:/etc/apache2/sites-available$ cd ~/life
-bash: cd: /home/me/life: No such file or directory!
I'm obviously tired, just spenbt 20 minutes debugging something utterly simple!
me@testeserver:/etc/apache2/sites-available$ sudo a2ensite sub.domain.tld
ERROR: Site sub.domain.tld does not exist!
me@testeserver:/etc/apache2/sites-available$ yes it smegging does!
ERROR: Nope, try again, idiot!
me@testeserver:/etc/apache2/sites-available$ Look, here's the document root, here's where I point to it in the VHosts file, here's where I define the domain in the VHosts file, and...
Tech, server stuff, RTFM idiot! Show more
So, after spending well over an hour wrestling with phpMyAdmin's default 2mb upload limit (not fun, with a 128mb sql file!), it only took an hour to figure out I had to create a dB to upload the thing to!
Try R'ingTF'ingM, idiot!
After that, figuring out that the sub-domains wasn't propagating was because I'd made a typo in the Apache vhosts file was a piece of cake.
Pity that left me no time to set up Filezilla and upload the site before I had to leave for work!
A place for your photos and banter. Photog first is our motto