#!/usr/bin/php Error: Path to template_file missing About: Script to generate http configuration for apache or nginx. Format: $ php generate_vhost.php --basedir=/var/www [--host=localhost] [--ip_address=*] [--port=80] [--env=dev] [--proxy=127.0.0.1] : Used for http cache if you selected prod template [-h|--help] : Help text, this one more or less [--dry-run] : Generate the result but echo to screen instead of writing template_file : The file to use as template for the generated ouput file output_file : The output file, usually vhost for apache2 or nginx Example use: $ sudo php bin/.travis/generate_vhost.php --basedir=/var/www --env=dev doc/apache2/vhost.template /etc/apache2/sites-available/my.com Note: In the Apache example above you would need to enable the site before you can use it. Available options: basedir, ip_address, port, host, host_alias, env, proxy, help, dry-run, h