[FreeBSD] [w/o CustomBuild] user_virtual_host.conf template

ClayRabbit

Verified User
Joined
Jan 3, 2004
Messages
260
Location
Russia
Hello

It seems my directadmin installation is completely ignoring user_virtual_host.conf template - it's content doesn't appear in user's httpd.conf or anywhere (while user_virtual_host.conf is still listed among templates on /CMD_CUSTOM_HTTPD page)
Is there any way to make user_virtual_host.conf work?

Thank you.
 
Hello,

Modify /usr/local/directadmin/data/templates/custom/user_virtual_host.conf
and run

Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Resolved with DA support:
DirectAdmin checks:
/usr/local/directadmin/custombuild/options.conf

for:
custombuild=2.0

and only then will it use that template.
Add and set that file, and it should in theory work..
I'd also recommend you set the options.conf to match your settings as close as you can so the php settings work too.
 
Back
Top