Administrating values on multiple domains

Discussion in 'Installation/Configuration' started by torusturtle, Jan 6, 2007.

  1. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Hi

    Is there a way to change certain values on several domains at the same time?

    For example
    - if I want to turn php on/off on several different domains of different costumers
    - if I want to turn on/off SpamAssasin on several Email accounts of different domains of different costumers

    Or if not would it be possible to change some of those values in the database without corrupting the system?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change the values in the database directly. Then set the field status = 'u' for the cahnged websites in the table isp_isp_web. Now edit and save one website in the ISPConfig interface and ISPConfig will chamge the values for all sites where status = 'u'.
     
  3. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    Thanks for the hint!

    Is it true, that this works also for emails if I change values and then set status='u' in isp_isp_user?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, this works also for the tables isp_isp_user and dns_isp_dns. When you change something in the table isp_isp_domain (co-domains), you will have to set the status field of the corresponding website in isp_isp_web to 'u' to get this update written to the config files.
     

Share This Page