Set Development Environment In Virtual Host Linux Mint

It is quite simple to setup the development environment in Linux Mint. It can be set inside the virtual host definition. See the following virtual host definition:
<VirtualHost *:80>
    ServerName web3.mfideas.com
    DocumentRoot /var/www/web3/htdocs

    SetEnv APPLICATION_ENV "development"

    <Directory /var/www/web3>
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

On the above virtual host definition the SetEnv sets the development environment for the entire Website.

Comments