Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@EvanHerman
Forked from petersuhm/apache-ci.conf
Last active August 25, 2017 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvanHerman/9567377117fb9589c6172b1e0fb7da7b to your computer and use it in GitHub Desktop.
Save EvanHerman/9567377117fb9589c6172b1e0fb7da7b to your computer and use it in GitHub Desktop.
Circle CI Apache configuration file
<VirtualHost *:80>
LoadModule php7_module /opt/circleci/php/7.1.3/usr/lib/apache2/modules/libphp7.so
DocumentRoot "/home/ubuntu/wordpress"
ServerName wordpress.dev
ServerAlias *.dev
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
<Directory "/home/ubuntu/wordpress">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment