Skip to content
Snippets Groups Projects
Commit e9506f6d authored by Sean Madsen's avatar Sean Madsen Committed by GitHub
Browse files

Merge pull request #405 from seanmadsen/amp-config

Remove instructions for adding amp settings to apache
parents 1382016a 3141148d
No related branches found
No related tags found
No related merge requests found
......@@ -118,37 +118,6 @@ Buildkit provides a tool called `amp` which [civibuild](/tools/civibuild.md) use
!!! caution
We strongly recommend using Apache as your webserver because support for nginx is limited.
1. Add settings to your webserver.
1. Identify the location of your `amp` installation. It is probably a `.amp` folder within your home directory. Make sure to *use the full path* to this directory in the settings below. We will use `<amp-installation>` henceforth to refer to the full path of this directory.
1. Go to your webserver's system-wide configuration files. For Apache, this is usually `/etc/apache2`, but on some systems it might be `/etc/httpd/` or similar. (Check this [blog](http://commanigy.com/blog/2011/6/8/finding-apache-configuration-file-httpd-conf-location) for more info on finding your Apache configuration.)
1. Inside this directory, create a new directory called `conf.d`, if not already present.
1. Inside the `conf.d` directory, create an empty file called `buildkit.conf`. We will put some settings in this file in a minute.
* For example, this file will be `/etc/apache2/conf.d/buildkit.conf` in most situations, but its location may be different for you depending on the above steps.
1. Identify your webserver version. (If using Apache, use `apachectl -v` to see which version you have.)
1. Put the following content in your `buildkit.conf` file (created above).
* For Apache 2.2, use this content:
```
Include <amp-installation>/apache.d/*conf
```
* For Apache 2.4, use this content:
```
IncludeOptional <amp-installation>/apache.d/*conf
```
1. Restart your webserver.
1. Test amp's configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment