Apache Multi-Instance

Apache multi-instance for legacy sites heavy on .htaccess / mod_rewrite.

Fields

  • name / version (2.2 for PHP 5.2 / 2.4 for rest) / port / data_dir

sites/ convention

Fixed sites/ holds .conf files. One vhost per .conf. Instance starts with Include sites/*.conf.

No migration support

Apache configs are messy (.htaccess + mod_rewrite + vhost params). Migration from other servers requires manual work.