[[wiki:experiences/igraltist#RC Setup|Back to igraltist's experiences / RC Modules]] ===== Apache2 ===== == What should protect with this setup? == This files and directories are taken from default installation on GNU/Linux Debian. - Configurationfiles * /etc/apache2 - Apaches Logfiles * /var/log/apache2 - Datas to server * /var/www == RC Roles == Create two Roles and assign this to the apache binary. rc_set_item ROLE 12 name "Apache_Server" rc_set_item ROLE 13 name "Apache_Worker" attr_set_file_dir FILE "/usr/sbin/apache2" rc_initial_role 12 attr_set_file_dir FILE "/usr/sbin/apache2" rc_force_role 13