cancel
Showing results for 
Search instead for 
Did you mean: 

AH01630: client denied by server configuration

AH01630: client denied by server configuration

Hello all i am getting "authz_core:error", its new install on Magento 2.2.8 Site seems to work fine i am able , have not added any content yet. I was trying to install Air Hotel extension and it will install but i keep on getting this error and sample database for said extension will not install

 

[authz_core:error] [pid 15969:tid 140283622352640] [client 207.*.*.*:41930] AH01630: client denied by server configuration: /home/baanig/domains/domain.ca/private_html/mag3/app/etc/config.php

I have searched all over the net and have tested all the suggestions but nothing seems to work.

Environment: 

Magento 2.2.8

PHP-FPM 7.0

Apache 2.4

 

Apache httpd config 

<Directory "/home/baanig/public_html">
		<FilesMatch "\.(inc|php|phtml|phps|php70)$">
			AddHandler "proxy:unix:/usr/local/php70/sockets/baanig.sock|fcgi://localhost" .inc .php .phtml .php70
		</FilesMatch> 
	<IfModule mod_fcgid.c>
		SuexecUserGroup baanig baanig
	</IfModule>
</Directory>

<VirtualHost 207.*.*.*.* >
	ServerName www.domain.ca
	ServerAlias www.domain.ca domain.ca 
	ServerAdmin webmaster@domain.ca
	DocumentRoot /home/baanig/domains/domain.ca/public_html
	ScriptAlias /cgi-bin/ /home/baanig/domains/domain.ca/public_html/cgi-bin/
	UseCanonicalName OFF
	<IfModule !mod_ruid2.c>
		SuexecUserGroup baanig baanig
	</IfModule>
	CustomLog /var/log/httpd/domains/domain.ca.bytes bytes
	CustomLog /var/log/httpd/domains/domain.ca.log combined
	ErrorLog /var/log/httpd/domains/domain.ca.error.log
	<FilesMatch "\.(inc|php|phtml|phps|php70)$">
		AddHandler "proxy:unix:/usr/local/php70/sockets/baanig.sock|fcgi://localhost" .inc .php .phtml .php70
	</FilesMatch>
	<Directory /home/baanig/domains/domain.ca/public_html>
	</Directory>
</VirtualHost>

<VirtualHost 207.251.47.156:443 >
	SSLEngine on
	SSLCertificateFile /usr/local/directadmin/data/users/baanig/domains/domain.ca.cert.combined
	SSLCertificateKeyFile /usr/local/directadmin/data/users/baanig/domains/domain.ca.key
	SSLCACertificateFile /usr/local/directadmin/data/users/baanig/domains/domain.ca.cacert
	ServerName www.domain.ca
	ServerAlias www.domain.ca domain.ca 
	ServerAdmin webmaster@domain.ca
	DocumentRoot /home/baanig/domains/domain.ca/private_html
	ScriptAlias /cgi-bin/ /home/baanig/domains/domain.ca/public_html/cgi-bin/
	UseCanonicalName OFF
	<IfModule !mod_ruid2.c>
		SuexecUserGroup baanig baanig
	</IfModule>
	CustomLog /var/log/httpd/domains/domain.ca.bytes bytes
	CustomLog /var/log/httpd/domains/domain.ca.log combined
	ErrorLog /var/log/httpd/domains/domain.ca.error.log
	<FilesMatch "\.(inc|php|phtml|phps|php70)$">
		AddHandler "proxy:unix:/usr/local/php70/sockets/baanig.sock|fcgi://localhost" .inc .php .phtml .php70
	</FilesMatch> 
	<Directory /home/baanig/domains/domain.ca/private_html>
	</Directory>
</VirtualHost>

Installed using composer and all the file permissions were set accordingly. Any suggestions how to fix this error.

 

Thanks

 

1 REPLY 1

Re: AH01630: client denied by server configuration

I have the same error when I try and get my site scanned for security vulnerabilities. 

 

I have been trying to enable U2F and 2FA, I turned that on to no effect in Admin just prior to running the scan, not sure if you did something similar. I had not tested it prior to that though so I do not know if they are related.

 

I am apache 2.4, Magento 2.3, PHP 7.1

 

Someone?