New template custombuild 2.0

Version 1.42

Feature
Finished

New template: /usr/local/directadmin/data/templates/user_virtual_host.conf which is added into a User's httpd.conf file before any VirtualHosts. It's used to setup <Directory /home/user> settings for suPhp, mod_ruid, and php-fpm for the even that /~username is used. With php-fpm, this allows the /~username method to still use all php.ini settings (open_basedir), and runs the scripts as the user, instead of apache. Mod_ruid2 should also run everything as the user, if it's under /home/user. Like all templates, you can create data/templates/custo/user_virtual_host.conf, and it will override the main template, and will be safe from overwrites.

Interested to try DirectAdmin? Get a 30-day Free Trial!