ports.conf

Discussion in 'General' started by neutrino, Jan 10, 2011.

  1. neutrino

    neutrino Member

    Hello ispconfig users, I need your help !

    If you have ssl enabled on one of your sites, I'd like a copy paste from your ports.conf file (only if you didn't change it manually).
    I need this because I wonder if mine is really clean (I have made many changes on it past years and I'm not sure that everything written in it is really needed).

    Thanks :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution and version?
     
  3. neutrino

    neutrino Member

    Debian Lenny
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The ports.conf file should look like this:

    Code:
    # If you just change the port or add more ports here, you will likely also
    # have to change the VirtualHost statement in
    # /etc/apache2/sites-enabled/000-default
    # This is also true if you have upgraded from before 2.2.9-3 (i.e. from
    # Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
    # README.Debian.gz
    
    NameVirtualHost *:80
    Listen 80
    
    <IfModule mod_ssl.c>
        # SSL name based virtual hosts are not yet supported, therefore no
        # NameVirtualHost statement here
    Listen 443
    </IfModule>
     
  5. falko

    falko Super Moderator Howtoforge Staff

    This is mine:

    Code:
    # If you just change the port or add more ports here, you will likely also
    # have to change the VirtualHost statement in
    # /etc/apache2/sites-enabled/000-default
    # This is also true if you have upgraded from before 2.2.9-3 (i.e. from
    # Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
    # README.Debian.gz
    
    NameVirtualHost *:80
    Listen 80
    
    <IfModule mod_ssl.c>
        # SSL name based virtual hosts are not yet supported, therefore no
        # NameVirtualHost statement here
    Listen 443
    </IfModule>
     
  6. neutrino

    neutrino Member

    Nice, big thanks to both of you.
     

Share This Page