Editing How New Sites Are Made?

Discussion in 'General' started by Hotwire, Apr 26, 2007.

  1. Hotwire

    Hotwire New Member

    Okay so heres my question,

    I have custom error pages made up, I also have custom standard_index.html_en files made. How ever, They require an image to be placed in the folder with the html file.

    What script to I edit to create the image directory in the error directory, and then copy the logo.png over to that directory, Every time a new site is made? Also applicable for new users sites.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look at the function make_docroot in the file /root/ispconfig/scripts/lib/config.lib.php. Add your code e.g. near the comment "////////////// Individual Error Pages ////////////////////"
  3. radim_h

    radim_h Member HowtoForge Supporter


    More ellegant will be place the image to some site eg www.yourmainweb.tld/logo.png a and there refer to it in your error code i have the same

    or, there is already alias error to /var/www/error so you put yuor image there and reffer to localhost
  4. Hotwire

    Hotwire New Member

    thanks, that worked just great for me.

Share This Page