How do I force IPSConfig to regenerate all configuration files?

Discussion in 'General' started by tensor, Jan 13, 2008.

  1. tensor

    tensor New Member

    When experimenting with ISPConfig sources I need a way to generate this or that configuration file. How do I do that without going into control panel and change something?
    How to force to regenerate all configuration files for manged services such as apache2, ftp server, bind, etc.?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to update for example all websites, execute the following SQL staement in the database:

    UPDATE isp_isp_web SET status = 'u' WHERE status = '';

    Then execute:

    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

    This works with all isp_isp_* tables and the dns_isp_dns table that have a 'status' column.

Share This Page