[CentOS] Centos 7 httpd Permission problems with Postfixadmin

Robert Moskowitz
Fri, 17 Feb 2017 18:39:37 -0000

On 02/17/2017 01:11 PM, Pete Biggs wrote:
>>   From error.log:
>>
>> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client
>> 192.168.160.12:48290] AH01630: client denied by server configuration:
>> /usr/share/postfixadmin
> So it's an authorisation issue. In your .htaccess file change
>
>        Order allow,deny
>        Allow from all
>
> to the apache 2.4 version
>
>        Require all granted
>
> See http://httpd.apache.org/docs/2.4/upgrading.html

Not there still.  In /var/www/html  I created .htaccess:

# ls -lstra
total 12
4 drwxr-xr-x. 4 root root   4096 Feb  6 16:06 ..
4 drwxr-xr-x. 2 root root   4096 Feb 17 13:32 .
4 -rw-r--r--. 1 root apache   21 Feb 17 13:32 .htaccess

# cat .htaccess
         Require all granted


restarted httpd, and still get the error.

[Fri Feb 17 13:36:17.366525 2017] [authz_core:error] [pid 5844] [client
192.168.160.12:48370] AH01630: client denied by server configuration:
/usr/share/postfixadmin