Docs | Installing | Apache


# Necessary to prevent problems when using a controller named "index" and having a root index.php
# more here:
Options -MultiViews

# Disallows others to look directly into /public/ folder
Options -Indexes

RewriteEngine Off

FallbackResource /_dvc.php

<IfModule mod_php7.c>
    php_value post_max_size 40M
    php_value upload_max_filesize 40M

Header unset Pragma
Header unset Last-Modified
Header unset Cache-Control


<VirtualHost *:80>
    ServerName dvc.your.dom

  # expose the public root, note we don't usually store anything here
  DocumentRoot [path]/[project]/www/

    AccessFileName .htaccess

    # this path needs to include the vendor files & the project files
    <Directory [path]>
        AllowOverride All
        Require all granted
        php_admin_value open_basedir [path]:/tmp/