Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

All requests to end up being redirected to RoundCube login page.

I want https to work the same way as regular protocol does, and to use the same URLs.

Setup: Ubuntu 12.10 with Apache2.

Here is the content of /etc/apache2/sites-available/ file:

    <VirtualHost *:80>
            DocumentRoot /var/www/
            ErrorLog /var/www/
            CustomLog /var/www/ combined
    <VirtualHost *:443>
            SSLEngine on
            SSLCertificateFile /etc/apache2/ssl/
            SSLCertificateKeyFile /etc/apache2/ssl/

Any ideas where the problem is?



Here's the content of /etc/apache2/ports.conf file:

    NameVirtualHost *:80
    NameVirtualHost *:443
    Listen 80

    <IfModule mod_ssl.c>
        Listen 443

    <IfModule mod_gnutls.c>
        Listen 443
share|improve this question

migrated from Apr 24 '13 at 1:18

This question came from our site for professional and enthusiast programmers.

Do you have any error / Is there any "Listen 443" or "NameVirtualHost *:443" in your conf file ? – RelevantUsername Apr 22 '13 at 20:24
Thanks for your message. There are no errors - all requests are just redirected to /mail and SSL is working fine. Yes, there are such commands - I updated the answer. – Ivanhoe123 Apr 22 '13 at 20:29
That could be better. I added my vote as well now. – Ivanhoe123 Apr 23 '13 at 11:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.