nixpkgs/modules/services/web-servers/apache-httpd
Peter Simons 0ef085d58a Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user.
The option is disabled by default so that previously existing installations
aren't affected.

If you'd like to migrate to the fixed numeric id for Apache, set "fixUidAndGid
= true", edit the file "/etc/groups" and replace the old GID value with 54.
(NixOS can't do that for you because it refuses to change a GID that identifies
the primary group of a user.) Then run

  find / -xdev -uid $oldUID -exec chown 54 {} +
  find / -xdev -gid $oldGID -exec chgrp 54 {} +

to update ownership of all files that are supposed to be owned by Apache.
2012-08-03 16:39:55 +02:00
..
default.nix Add services.httpd.fixUidAndGid option to assign reliable numeric UID and GID for the Apache user. 2012-08-03 16:39:55 +02:00
mediawiki.nix mediawiki.nix: Use the right PHP build 2012-07-30 17:19:23 +02:00
mercurial.nix * Use the ‘path’ attribute in Upstart jobs in more places. It's a bit 2011-11-25 16:32:54 +00:00
per-server-options.nix * Move logFormat to the per-vhost options. 2012-05-11 23:14:05 +00:00
tomcat-connector.nix Added extraWorkersProperties parameter, so that custom tweaks can be added 2012-02-06 13:11:48 +00:00
trac.nix
zabbix.nix * Use the ‘path’ attribute in Upstart jobs in more places. It's a bit 2011-11-25 16:32:54 +00:00