This is a Heroku buildpack for apache httpd that enables you to easily specify the version, compilation arguments and configuration files. The output of the compilation step is cached to speed up future deployments.
This buildpack only handles compiling and configuring Apache, so you may want to use this in conjunction with buildpack-multi.
heroku buildpack:set https://github.com/lookfirst/heroku-buildpack-apache- Create a top level
.apachefolder in your Heroku project - Add a file called
.apache.cfgto the.apachefolder - Specify a version:
export APACHE_VERSION=2.4.12 - Customize apache compile
configurearguments:export CONFIGURE_ARGS="--enable-foo"1. Do not specify--prefix - Put Apache configuration into the
.apache/conffolder - The contents of this folder are copied over the apache configuration folder in
/app/apache/etc/apache2 - Anything with a suffix of
.erbis processed througherbfor environment variable replacement (<%= ENV["PORT"] %>) - Push your project to heroku:
git push heroku master