27 lines
874 B
Executable File

<VirtualHost *:80>
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 -pass-header Authorization
DocumentRoot /var/www/html/date-poll-api/public
<Directory /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
# <Directory /var/www/project>
# Options FollowSymlinks
# </Directory>
ErrorLog /var/log/apache2/tktest_error.log
CustomLog /var/log/apache2/tktest_access.log combined