https://github.com/lookfirst/heroku-buildpack-apache
heroku-buildpack-apache
https://github.com/lookfirst/heroku-buildpack-apache
Last synced: about 1 year ago
JSON representation
heroku-buildpack-apache
- Host: GitHub
- URL: https://github.com/lookfirst/heroku-buildpack-apache
- Owner: lookfirst
- License: mit
- Created: 2015-04-24T00:01:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-26T19:48:08.000Z (about 11 years ago)
- Last Synced: 2025-04-08T08:51:38.086Z (about 1 year ago)
- Language: Shell
- Size: 188 KB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# heroku-buildpack-apache
This is a [Heroku buildpack](https://devcenter.heroku.com/articles/buildpacks) for [apache httpd](http://httpd.apache.org/) 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](https://github.com/ddollar/heroku-buildpack-multi).
## Usage
1. `heroku buildpack:set https://github.com/lookfirst/heroku-buildpack-apache`
1. Create a top level `.apache` folder in your Heroku project
1. Add a file called `.apache.cfg` to the `.apache` folder
1. Specify a version: `export APACHE_VERSION=2.4.12`
1. Customize apache compile `configure` arguments: `export CONFIGURE_ARGS="--enable-foo"`
1. Do not specify `--prefix`
1. Put Apache configuration into the `.apache/conf` folder
1. The contents of this folder are copied over the apache configuration folder in `/app/apache/etc/apache2`
1. Anything with a suffix of `.erb` is processed through `erb` for environment variable replacement (`<%= ENV["PORT"] %>`)
1. Push your project to heroku: `git push heroku master`