Apache

From Bitpost wiki
Jump to: navigation, search

Apache has endless config options. To see what works for my needs, refer to these folders on bitpost-gentoo:

/etc/apache2/httpd.conf
   Include /home/m/config/apache2/machine_globals.conf
~/development/config/bitpost/apache2/machine_globals.conf # etc....
/etc/apache2/modules.d/ # contains symlinks to...
development/config/bitpost/etc/apache2/modules.d/
  • I am using SNI to server multiple SSL hostnames on bitpost, all on port 443
  • I am using Google Registrar to manage my domains, including redirecting domain name email to gmail
  • I am using StartCom to get free Class-1 certs using those domain name emails
  • You can configure subdomains as easily as domains using StartCom (NOTE however, Phabricator and curl puke on certs??)

MOVING TO A NEW IP

  • blast out new CNAME records at registrar
  • make sure you add it to the mod_evasive whitelist
emacs /home/m/config/etc/apache2/modules.d/10_mod_evasive.conf
  DOSWhitelist 107.13.239.87