Apache site config example: DocumentRoot "/home/developer/projects/video_embed" ServerName local.asdf.us Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all Options ExecCGI AddHandler cgi-script .cgi dependencies: apache mods: - cgi - cgid php: curl (sudo apt-get install php5-curl) application: youtube-dl (original) (sudo apt-get install youtube-dl) bash settings: - When call youtube-dl from bash should be used original(!) youtube-dl acceess: - rwx-access for /cache dir Install vendors: - git clone https://github.com/pepperpepperpepper/youtube-dl to /protected/vendor/