messing with website path and symlink values

Discussion in 'Installation/Configuration' started by Azimuth, Sep 7, 2010.

  1. Azimuth

    Azimuth New Member

    Ideally I would love to have my website paths as /var/www/clients/domain/
    but that didn't seem to work.
    I started getting apache vhosts with paths that were literally /var/www/clients/[website_domain]

    now I'd like to try the default values again but don't have any records of what they were.

    If anyone has any insight on the default settings or how to get my preferred settings to work, please let me know.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Such a path can not work as you can not use any changable variables like the domain name in the path. Such a value would break your website when you change the domain later in the website settings. Thats why ISPConfig uses symlinks for asy shell navigation and a fixed path containing ID's. It is highly recommended that you do not change the default values.

    The defaults are:

    Website path: /var/www/clients/client[client_id]/web[website_id]
    Website Symlinks: /var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
  3. Azimuth

    Azimuth New Member

    I guess in all my messing around. My apache isn't loading site-available anymore.
    On one server webmin/apache page shows the sites-available content as editable but does not on the server i'm having issues with.
    The scripts are in that directory. I looked at both my ispconfig servers and both state Include /etc/apache2/sites-enabled/

    One server loads ispconfig and the other does not.

    both servers are in single server setup.

    thanks for all your help.

    EDIT: I changed the include line to sites-available and it is up again. The odd thing is that it's working on the other server with sites-enabled
    Last edited: Sep 7, 2010
  4. Azimuth

    Azimuth New Member

    Is there any way to remove the client id and the website id and use something more site descriptive? we only have a small number of clients and websites so uniqueness isn't an issue for us.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    No, I explained above why it is not possible to use the domain in a path. But it is not needed to do that as you use the symlinks which have the name of the domain for shell paths anyway, so you dont have to care about the real path. If you want to go to a domain on the shell, simply go to /var/www/

Share This Page