You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Mehler <da...@gmail.com> on 2018/03/30 14:14:41 UTC
[users@httpd] apache 2.4 and automx configuration
Hello,
I'm trying to troubleshoot an automx error that it's giving me a 403
message, I'm using FreeBSD 11.1, and apache 2.4, and of course automx.
It's looking not like an automx-specific issue, but an apache-specific
issue. Can anyone spot any obvious errors with the below apache
configuration?
Thanks.
Dave.
#cat provisioning-access.log
xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:34 -0400] "GET
/mail/config-v1.1.xml?emailaddress=user@example.com HTTP/1.1" 403 229
"-" "Wget/1.19.4 (freebsd11.1)"
xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST
/autodiscover/autodiscover.xml HTTP/1.1" 403 238 "-" "Wget/1.19.4
(freebsd11.1)"
xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST
/autodiscover/autodiscover.xml HTTP/1.1" 403 238 "-" "Wget/1.19.4
(freebsd11.1)"
xxx.xxx.xxx.xxx - - [30/Mar/2018:01:37:35 -0400] "POST /mobileconfig
HTTP/1.1" 403 221 "-" "Wget/1.19.4 (freebsd11.1)"
#cat provisioning-error.log
[Fri Mar 30 01:37:34.727465 2018] [authz_core:error] [pid 97562:tid
34561697024] [client xxx.xxx.xxx.xxx:52643] AH01630: client denied by
server configuration: /usr/local/share/automx/mail/config-v1.1.xml
[Fri Mar 30 01:37:35.396497 2018] [authz_core:error] [pid 97562:tid
34561697024] [client xxx.xxx.xxx.xxx:53815] AH01630: client denied by
server configuration: /usr/local/share/automx/autodiscover
[Fri Mar 30 01:37:35.427183 2018] [authz_core:error] [pid 97562:tid
34561697024] [client xxx.xxx.xxx.xxx:53097] AH01630: client denied by
server configuration: /usr/local/share/automx/autodiscover
[Fri Mar 30 01:37:35.464205 2018] [authz_core:error] [pid 97562:tid
34561697024] [client xxx.xxx.xxx.xxx:55011] AH01630: client denied by
server configuration: /usr/local/share/automx/mobileconfig
#cat automx.conf
[automx]
provider = example.com
domains = *
debug = yes
# Create log directory mode 750, owner-group www
logfile = /var/log/automx/automx.log
# Protect against DoS
memcache = 127.0.0.1:11211
memcache_ttl = 600
client_error_limit = 20
rate_limit_exception_networks = 127.0.0.0/8
# The DEFAULT section is always merged into each other section. Each section
# can overwrite settings done here.
[DEFAULT]
account_type = email
account_name = example.com
account_name_short = example.com
# If a domain is listed in the automx section, it may have its own section. If
# none is found here, the global section is used.
[global]
backend = sql
action = settings
# database connection
host = mysql://DatabaseUser:DatabasePassword@localhost/DataBase
# adapt the query
query = SELECT name, username, domain FROM accounts WHERE username = '%s';
result_attrs = name, username, domain
smtp = yes
smtp_server = mail.example.com
smtp_port = 587
smtp_encryption = starttls
smtp_auth = plaintext
smtp_auth_identity = ${mail_addr}
smtp_refresh_ttl = 6
smtp_default = yes
imap = yes
imap_server = mail.example.com
imap_port = 143
imap_encryption = starttls
imap_auth = plaintext
imap_auth_identity = ${mail_addr}
imap_refresh_ttl = 6
pop = no
#cd /usr/local/share/automx
#ls
automx_wsgi.py*
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache 2.4 and automx configuration
Posted by David Mehler <da...@gmail.com>.
Hello,
Thanks. By adding gibberish inside the IfModule section I found out
that it was not working. I then commented the IfModule stuff out so
the code loads unconditionally. Now I'm getting a 500 internal server
error.
If anyone has automx going with apache please let me know. The error
seems to be starting because apache can't find in my case
/usr/local/share/automx/mail/config-1.1.xml which I'm under the
impression automx_wsgi.py will be making that.
Any suggestions welcome.
Thanks.
Dave.
On 3/30/18, Eric Covener <co...@gmail.com> wrote:
> It seems like if mod_uwsgi was not loaded or that <IfModule> was
> otherwise in error, your document root would reject all access because
> all of the "require all granted" are wrapped in the IfModule.
>
> I suggest verifying that the module is loaded and your specific syntax
> for the IfModule works as expected (by adding gibberish inside the
> ifmodule section and running apachectl -t)
>
> On Fri, Mar 30, 2018 at 5:06 PM, David Mehler <da...@gmail.com>
> wrote:
>> Hi,
>>
>> Has anyone checked out my last message? I was wondering if anything
>> stood out with this config?
>>
>> Thanks.
>> Dave.
>>
>>
>> On 3/30/18, David Mehler <da...@gmail.com> wrote:
>>> 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@example.com
>>> 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@example.com
>>> 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 <co...@gmail.com> 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@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache 2.4 and automx configuration
Posted by Eric Covener <co...@gmail.com>.
It seems like if mod_uwsgi was not loaded or that <IfModule> was
otherwise in error, your document root would reject all access because
all of the "require all granted" are wrapped in the IfModule.
I suggest verifying that the module is loaded and your specific syntax
for the IfModule works as expected (by adding gibberish inside the
ifmodule section and running apachectl -t)
On Fri, Mar 30, 2018 at 5:06 PM, David Mehler <da...@gmail.com> wrote:
> Hi,
>
> Has anyone checked out my last message? I was wondering if anything
> stood out with this config?
>
> Thanks.
> Dave.
>
>
> On 3/30/18, David Mehler <da...@gmail.com> wrote:
>> 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@example.com
>> 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@example.com
>> 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 <co...@gmail.com> 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@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache 2.4 and automx configuration
Posted by David Mehler <da...@gmail.com>.
Hi,
Has anyone checked out my last message? I was wondering if anything
stood out with this config?
Thanks.
Dave.
On 3/30/18, David Mehler <da...@gmail.com> wrote:
> 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@example.com
> 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@example.com
> 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 <co...@gmail.com> 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@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache 2.4 and automx configuration
Posted by David Mehler <da...@gmail.com>.
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@example.com
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@example.com
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 <co...@gmail.com> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] apache 2.4 and automx configuration
Posted by Eric Covener <co...@gmail.com>.
> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org