<VirtualHost *:80>
    ServerName akeneo.dev

    DocumentRoot /srv/pim/public
    <Directory /srv/pim/public>
        AllowOverride None
        Require all granted

        Options -MultiViews
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} !-f
        SetEnv APP_ENV ${APP_ENV}
        RewriteRule ^(.*)$ index.php [QSA,L]
    </Directory>

    <Directory /srv/pim>
        Options FollowSymlinks
    </Directory>

    <Directory /srv/pim/public/bundles>
        RewriteEngine Off
    </Directory>

    ErrorLog /var/log/akeneo_error.log
    LogLevel warn
    CustomLog /var/log/akeneo_access.log combined
</VirtualHost>
