I think I need to read httpd's doc carefully.
Before doing that can you help check my this config (for php primarily) are 
going without issue?
Thanks in advance.


root@mail:/etc/apache2/sites-enabled# cat webmail.conf |grep -v '#'
<VirtualHost *:80>

        ServerAdmin webmaster@localhost
        ServerName mail.openmbox.net

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

RewriteEngine on
RewriteCond %{SERVER_NAME} =mail.openmbox.net
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>


root@mail:/etc/apache2/sites-enabled# cat webmail-le-ssl.conf |grep -v '#'
<IfModule mod_ssl.c>
<VirtualHost *:443>

        ServerAdmin webmaster@localhost
        ServerName mail.openmbox.net
        DocumentRoot /var/www/snappy

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined


  <Directory />
    Options None
    AllowOverride None
    Require all denied
  </Directory>

  <Directory /var/www/snappy>
    Options +Indexes
    Order deny,allow
    Allow from all
    Require all granted
  </Directory>

  <Directory /var/www/snappy/data>
     Require all denied
  </Directory>

SSLCertificateFile /etc/letsencrypt/live/mail.openmbox.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mail.openmbox.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to