Skip to content

lookfirst/heroku-buildpack-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-apache

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.

Usage

  1. heroku buildpack:set https://github.com/lookfirst/heroku-buildpack-apache
  2. Create a top level .apache folder in your Heroku project
  3. Add a file called .apache.cfg to the .apache folder
  4. Specify a version: export APACHE_VERSION=2.4.12
  5. Customize apache compile configure arguments: export CONFIGURE_ARGS="--enable-foo" 1. Do not specify --prefix
  6. Put Apache configuration into the .apache/conf folder
  7. The contents of this folder are copied over the apache configuration folder in /app/apache/etc/apache2
  8. Anything with a suffix of .erb is processed through erb for environment variable replacement (<%= ENV["PORT"] %>)
  9. Push your project to heroku: git push heroku master

About

heroku-buildpack-apache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages