sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
Sophie ([personal profile] sophie) wrote in [site community profile] dw_dev2015-06-26 12:29 am
Entry tags:

Dreamhacks: Apache configuration files

Now that the Dreamhack machine has been upgraded, I'm looking at making things a bit easier to maintain, starting with the Apache configuration files.

[staff profile] mark has already posted instructions to update your configuration so that it will work, but ideally, that shouldn't need to be an issue - it should Just Work. And as it turns out, very few people ever modified their default Apache config files; there are very few cases where it's necessary. In fact, of the three people that have, two of them had only done so for Apache 2.4 compatibility.

It makes sense to me to have this sort of configuration change done on a global basis rather than needing each person to change their Apache config themselves. I do recognise that some people will still need to make local changes, though, so I'm going to be setting it up so that the configuration file as it is now will simply become an Include line to a central configuration file which uses environment variables (which will be in a ~/apache/conf/envvars file) to allow Apache to know where everything is.

This will also involve adding one line to the start-apache and stop-apache scripts pointing to the new envvars file.

I'll make the changes for everybody so that nobody needs to worry about how to do this. Where people have modified the defaults, I'll make sure that those changes are still in the new files. I'll also back up the old Apache configs to a ~/apache/conf/httpd.conf.2.4-backup file in case anything goes wrong.

I plan to do this change in a few days from now - if anybody has any questions or concerns, please let me know! This change does mean that nobody will need to modify their Apache config any more, so when this goes through the instructions in [staff profile] mark's post will no longer be needed, although it will still be necessary to update your code to the latest version and, if you have any branches you're working on currently, pull the latest changes from develop into those branches in order to get the code change for Apache 2.4.

If anybody needs any help, please let me know in the comments!
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2015-07-03 09:41 am (UTC)(link)
I haven't actually used my Dreamhack in over a year, so it probably makes more sense to wipe it, and recreate when I ever come back to regular development. Do you have a standard process for deleting unused Dreamhacks?
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2015-07-09 07:48 am (UTC)(link)
Okay, if it's not taking up needed resources, it can stay there.