1 (edited by iLeoable427 2013-11-20 10:27:09)

Topic: Apache 2 ports configuration deleted!

======== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS Amazon EC2
- Related log if you're reporting an issue:
====

Hi! I have accidentally deleted my Apache 2 default ports configuration. I am very mad at myself and after about 3 hours of banging my head on my keyboard I really badly want help from the community! What I am asking from you is to post the default Apache 2 ports configuration it is located at /etc/apache2/ports.conf.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Apache 2 ports configuration deleted!

Here it is:

# 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>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

P.S. You can install Ubuntu 12.04 on Xen/VMware/VirtualBox/KVM to get a copy.

3

Re: Apache 2 ports configuration deleted!

Thanks a ton! And BTW I am running the server edition so I don't have a desktop.