composer create-project fliglio/app --dev
docker build -t benschw/fl .
docker run -t -d -p 80 benschw/fl
docker build -t dev/fliglio-app . && docker run -t -d -p 80:80 -v /home/ben/dev/fliglio-app/:/var/www/ --name fliglio-app dev/fliglio-app
docker build -t dev/fliglio-app . && docker kill fliglio-app && docker rm fliglio-app && docker run -t -d -p 80:80 -v /home/ben/dev/fliglio-app/:/var/www/ --name fliglio-app dev/fliglio-app
<VirtualHost *:80>
DocumentRoot "/var/www/my-app/web"
ServerName fl.local
<Directory "/var/www/my-app/web">
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^(.*)$ /app.php [L,QSA]
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Require all granted
Allow from all
</Directory>
</VirtualHost>
curl http://fl.local/api/foo