New System Install; Changing Defaults

youds

Verified User
Joined
Jul 11, 2008
Messages
476
Location
Lancashire, UK
Hi

I've used DA for a while now and have a new system install to setup.
I've used the /usr/local/directadmin/scripts/custom folder in the past to create custom behaviour for email, mostly.
However I need to now change a few other things as well, see below.

  • public_html directory needs to be named "pub"
  • open_basedir php setting needs to be /home/(username)/domains/(domain.tld) and not /home/(username)/domains/(domain.tld)/pub
  • suphp disabled (I've already set it up as a CLI install)
  • Default sub domains, eg. control.domain.tld

Can anybody help with the above?
 
Last edited:
Code:
[root@tower ~]# ls /usr/local/directadmin/data/templates/
apache.logrotate       filter_delete            partition_check.list
config.inc.php         filter_spamfolder        partition_check_message.txt
config.inc.php.backup  filter_userspamfolder    proftpd.conf
conf.sysbk             forbidden_domains.list   proftpd.vhosts.conf
custom                 ftp_pass_change          README
da-popb4smtp           httpd                    redirect_virtual_host.conf
default                httpd.conf               reseller_limit.txt
directadmin.conf       imap                     system_filter.exim
dns_aaaa.conf          imaps                    userdir
dns_a.conf             ips_virtual_host.conf    user_limit.txt
dns_cname.conf         list.config              user_prefs
dns_mx.conf            login_images             user_suspension.txt
dns_ns.conf            logs.list                virtual_host2.conf
dns_srv.conf           lost_password_email.txt  virtual_host2_secure.conf
dns_txt.conf           lost_password.html       virtual_host2_secure_sub.conf
edit_files.txt         mail_settings.html       virtual_host2_sub.conf
email_pass_change      main.php                 virtual_host.conf
exim3.conf             majordomo.cf             virtual_host_secure.conf
exim4.conf             message_tech.txt         virtual_host_secure_sub.conf
exim.conf              message_user.txt         virtual_host_sub.conf
exim.pl                named.db                 zone.conf
filter_base            outlook_setup.reg

Well the help article is very badly written, but I think I got the gist of it.
Only question that stands out is about the virtualhost2* and virtualhost*. What's the difference? Are they for different apache versions?
 
Thanks. Wasn't sure, am planning on getting this done tomorrow.
Don't think there is anything else.

Kind regards
 
I don't think you can; I think CustomBuild will automatically install the latest version that works with DirectAdmin.

To get further help on this question, please find the main CustomBuild thread and ask there; that thread is written by the author of CustomBuild.

Jeff
 
Back
Top