Changing default folder setup

Discussion in 'Installation/Configuration' started by terryoleary1981, Jan 6, 2008.

  1. terryoleary1981

    terryoleary1981 New Member

    Hi

    I'm wanting to tweak the default folders created when a new website is created, is this possible?

    I want to change the web folder to public_html

    and want to add the folders classes and config to the top level folders. so the site folder would look like

    -cgi-bin
    -classes
    -config
    -ftp
    -log
    -phptmp
    -public_html
    -ssl
    -user

    if this is possible can you tell me where i need to alter the current setup to suit this. including altering the apache config to point to the public_html folder as a default web folder.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Generally yes. But you will have to program this in PHP and you will loose the possibility to update your server with new ISPConfig versions.

    If you want to do this, have a look at the function make_vhost in the file /root/ispconfig/scripts/lib/config.lib.php
     

Share This Page