Hello, Sorry been going between three projects and must have been hitting the enter key to fast. Here's the configuration. Thanks. Dave. #cat provisioning.example.com.conf # The autoconfig.example.com and autodiscover.example.com http virtual host <VirtualHost *:80> ServerName autoconfig.example.com #ServerAlias autodiscover.example.com ServerAdmin webmaster@xxxxxxxxxxx DocumentRoot "/usr/local/share/automx" LogLevel warn ErrorLog /var/log/provisioning-error.log CustomLog /var/log/provisioning-access.log combined # share well-known for renewal via Let's Encrypt! Alias "/.well-known/acme-challenge" "/usr/local/www/.well-known/acme-challenge" <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L,R=301] </IfModule> <IfModule mod_wsgi.c> Alias /automx "/usr/local/share/automx/" WSGIChunkedRequest On WSGIScriptAliasMatch \ (?i)^/.+/(autodiscover|config-v1.1).xml \ /usr/local/share/automx/automx_wsgi.py #WSGIScriptAlias /mail/config-v1.1.xml /usr/local/share/automx/automx_wsgi.py #WSGIScriptAlias /usr/local/share/automx/automx_wsgi.py <Directory "/usr/local/share/automx"> Options Indexes MultiViews AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/autodiscover"> Options FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/mobileconfig"> Options FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/mail"> Options FollowSymLinks AllowOverride None Require all granted </Directory> </IfModule> </VirtualHost> # SSL example for autodiscover <VirtualHost *:443> ServerName autodiscover.example.com ServerAlias autoconfig.example.com ServerAdmin webmaster@xxxxxxxxxxx DocumentRoot "/usr/local/share/automx" LogLevel warn ErrorLog /var/log/provisioning-error.log CustomLog /var/log/provisioning-access.log combined # Uncomment the next 2 lines when deploy http2 #H2Direct on #Protocols h2 h2c http/1.1 SSLEngine on SSLCertificateFile "/usr/local/etc/ssl/acme/example.com/fullchain.pem" SSLCertificateKeyFile "/usr/local/etc/ssl/acme/private/example.com/privkey.pem" # HSTS (mod_headers is required) (15768000 seconds = 6 months) #Header always set Strict-Transport-Security "max-age=15768000" <IfModule mod_wsgi.c> Alias /automx "/usr/share/automx/" WSGIChunkedRequest On WSGIScriptAliasMatch \ (?i)^/.+/(autodiscover|config-v1.1).xml \ /usr/local/share/automx/automx_wsgi.py WSGIScriptAlias \ /mobileconfig \ /usr/local/share/automx/automx_wsgi.py #WSGIScriptAlias /Autodiscover/Autodiscover.xml /usr/local/share/automx/automx_wsgi.py #WSGIScriptAlias /usr/local/share/automx/automx_wsgi.py <Directory "/usr/local/share/automx"> Options Indexes MultiViews AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/autodiscover"> Options FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/mobileconfig"> Options FollowSymLinks AllowOverride None Require all granted </Directory> <Directory "/usr/local/share/automx/mail"> Options FollowSymLinks AllowOverride None Require all granted </Directory> </IfModule> </VirtualHost> On 3/30/18, Eric Covener <covener@xxxxxxxxx> wrote: >> Can anyone spot any obvious errors with the below apache >> configuration? > > You didn't include any apache configuration in your mail. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx