Apologies for the poor formatting. Here’s a second attempt:
Anyway to reiterate the config issue:
AH00112: Warning: DocumentRoot [/home/virtualmin/nathaliehambro.com/public_html] does not exist
AH00112: Warning: DocumentRoot [/home/virtualmin/nathaliehambro.com/public_html] does not exist
AH00526: Syntax error on line 448 of /etc/httpd/conf/httpd.conf:
SSLCertificateFile: file ‘/home/nathaliehambro2014/ssl.cert’ does not exist or is empty
This is what the OS thinks:
[root@net2airhosting home]# ls -al
total 12
drwxr-xr-x 3 root root 4096 Jan 29 17:33 .
dr-xr-xr-x 19 root root 4096 Jan 12 15:25 …
drwxr-x— 13 nathaliehambro2014 nathaliehambro2014 4096 Feb 5 05:32 nathaliehambro2014
So neither is right…
Looking at the apache config it’s a mix of both:
<VirtualHost 176.31.38.229:80>
SuexecUserGroup “#510” “#502”
ServerName nathaliehambro.com
ServerAlias www.nathaliehambro.com
ServerAlias webmail.nathaliehambro.com
ServerAlias admin.nathaliehambro.com
ServerAlias autoconfig.nathaliehambro.com
ServerAlias autodiscover.nathaliehambro.com
DocumentRoot /home/virtualmin/nathaliehambro.com/public_html
ErrorLog /var/log/virtualmin/nathaliehambro.com_error_log
CustomLog /var/log/virtualmin/nathaliehambro.com_access_log combined
ScriptAlias /cgi-bin/ /home/nathaliehambro2014/cgi-bin/
ScriptAlias /AutoDiscover/AutoDiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
ScriptAlias /Autodiscover/Autodiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
ScriptAlias /autodiscover/autodiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/virtualmin/nathaliehambro.com/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/nathaliehambro2014/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/nathaliehambro2014/fcgi-bin/php5.fcgi .php5
<Directory /home/nathaliehambro2014/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.nathaliehambro.com
RewriteRule ^(.*) https://nathaliehambro.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.nathaliehambro.com
RewriteRule ^(.*) https://nathaliehambro.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
RedirectMatch ^/(?!.well-known)(.*)$ https://nathaliehambro.com/$1
Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
<VirtualHost 176.31.38.229:443>
SuexecUserGroup “#510” “#502”
ServerName nathaliehambro.com
ServerAlias www.nathaliehambro.com
ServerAlias webmail.nathaliehambro.com
ServerAlias admin.nathaliehambro.com
ServerAlias autoconfig.nathaliehambro.com
ServerAlias autodiscover.nathaliehambro.com
DocumentRoot /home/virtualmin/nathaliehambro.com/public_html
ErrorLog /var/log/virtualmin/nathaliehambro.com_error_log
CustomLog /var/log/virtualmin/nathaliehambro.com_access_log combined
ScriptAlias /cgi-bin/ /home/nathaliehambro2014/cgi-bin/
ScriptAlias /AutoDiscover/AutoDiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
ScriptAlias /Autodiscover/Autodiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
ScriptAlias /autodiscover/autodiscover.xml /home/nathaliehambro2014/cgi-bin/autoconfig.cgi
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/virtualmin/nathaliehambro.com/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/nathaliehambro2014/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/nathaliehambro2014/fcgi-bin/php5.fcgi .php5
<Directory /home/nathaliehambro2014/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.nathaliehambro.com
RewriteRule ^(.*) https://nathaliehambro.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.nathaliehambro.com
RewriteRule ^(.*) https://nathaliehambro.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
SSLEngine on
SSLCertificateFile /home/nathaliehambro2014/ssl.cert
SSLCertificateKeyFile /home/nathaliehambro2014/ssl.key
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi