index.html - Welcome page ISPConfig

Discussion in 'ISPConfig 3 Priority Support' started by spido, Dec 4, 2016.

  1. spido

    spido Member

    In what directory is the template for the new sites: index.html - Welcome page ISPConfig?
    See screenshot.
    I want to edit this page.

    Thank you in advance!
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In the directory /usr/local/ispconfig/server/conf/index/

    Put your changed files in the directory /usr/local/ispconfig/server/conf-custom/index/ to make the changes update safe.
     
  3. spido

    spido Member

    If I:
    1. Download the ISPConfig-3.1.1p1.tar.gz
    2. Unzip it
    3. Modify some files will build my new files
    4. again archived in ISPConfig-3.1.1p1.tar.gz
    5. I will upgrade the ISPConfig, new file on my server with a new archive

    My new files will be integrated in ISPConfig, on my server?
    In this way I can change the files?
     
  4. spido

    spido Member

    Or tell me how I can get access to the directory on the SFTP:
    /usr/local/ispconfig/interface
    /usr/local/ispconfig/server

    Now I do not have the right to enter into these directories by SFTP, to edit files.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do that if you want to change php code, but as long as you change just config files and templates, better use the easy way I showd you above.

    Just login as root with any sftp client.
     
  6. spido

    spido Member

    Root is not active and does not have the password. I think so. Or I'm wrong?
    If I activate the root, then the server will be a security problem.

    You can write your commands, which I can enter to make an active root, give him a password to log on SFTP?
    That it did not violate the security of the server.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally root is active. All distributions do it like this except Ubuntu and when you want to upload files as root, then you need a root login.

    No, that's not a security problem. You should just use a long and complex password or a certificate based login for the root user.
    A password for a Linux user is set with the command passd. Login to the shell of your server, become root user and then run:

    passwd

    to set a password for the root user.
     
  8. spido

    spido Member

    It is possible that the root password is already using a service or the ISPConfig?
    If I change the password for root, the it can disrupt or ISPConfig server?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    That's really unlikely that the ssh root password is used by a service. ISPconfig is not using that.

    No.
     
  10. spido

    spido Member

    Many thanks for your help!
    You helped me a lot.
     
  11. spido

    spido Member

    1. I logged on SSH, as the administrator.
    2. I entered the command: sudo -s
    got root@srv01:- #
    3. introduced passwd
    password entered
    again entered the password
    4. reboot
    Now I can enter as root, the virtual machine console.
    So I can log in as the administrator.

    I can log in as administrator, in SSH.
    But now I can not log into SSH, either as an root.
    Why can not I enter even as an root?
    I have to change some config file SSH?
     

    Attached Files:

  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the file /etc/ssh/sshd_config and set PermitRootLogin to yes to enable password based logins, then restart sshd.
     
  13. spido

    spido Member

    I want to make my design panel and change the pattern on my template.
    I created a folder with the name of your template:
    /usr/local/ispconfig/interface/web/themes/mytemplate

    I copied the contents of the folder into it from the default template.
    Replaced logos on your own.
    Then I went to the admin panel: Admin - Utilities - Interface - Design and chose my new template and save it.
    But the new template is not connected.
    Removed default template - board generated an error about the absence of a template, then the new template is not exactly connected.

    What else you need to switch or register to get your new template?
     
    hammoudi hichem likes this.
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Custom themes require it to have a ispconfig_version version file in the theme folder which contains the version number of the currently installed ispconfig version.
     
    hammoudi hichem likes this.
  15. spido

    spido Member

    I created ispconfig_version file - containing 3.1.1p1.
    Now a new template has connected.
    I replaced the two logos, the new template /usr/local/ispconfig/interface/web/themes/mytemplate/assets/images
    , but the panel displays the old logo.
    How can I change the old logos, new?
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    The logo is in the database, there is no need for a custom template to change the logo. There have been several threads on the logo change topic recenty, you should be able to find them in the forum with the search function. If you want to replace a logo in your template instead, then ensure that your template loads the logo from a different place and does not use the css / html of the default template that is used to show the logo.
     
  17. spido

    spido Member

    I understood.
    I have one more question. If I delete the default template, the login page reports the error:
    Code:
    vlibTemplate Error: Template (main_login.tpl.htm) file not found.
    Why main_login.tpl.htm file is not connected from the new template?
    How to fix it?
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    The login template is a separate template, create it in your custom template.
     
  19. spido

    spido Member

    My template - is a 100% copy of the Default Template.
    My template has main_login.tpl.htm file.
    But ISPConfig refers not to my templaytu, and refers to the Default.
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    The login template is read from interface/lib/config.inc.php file, did you set the template there as well?
     

Share This Page