ServerName tktest.lan ServerAlias www.tktest.lan AddHandler php7-fcgi .php Action php7-fcgi /php7-fcgi Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -host 127.0.0.1:9000 -pass-header Authorization DocumentRoot /var/www/html/date-poll-api/public # enable the .htaccess rewrites AllowOverride All Order Allow,Deny Allow from all # uncomment the following lines if you install assets as symlinks # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # ErrorLog /var/log/apache2/tktest_error.log CustomLog /var/log/apache2/tktest_access.log combined