Re: SOLVED - Re: Centos 7 httpd Permission problems with Postfixadmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 
>  Changed it to:
> 
> # cat /etc/httpd/conf.d/postfixadmin.conf
> alias /mailadmin /usr/share/postfixadmin
> <Directory "/usr/share/postfixadmin">
>          AllowOverride AuthConfig
> #        allow from all
>          Require all granted
> </Directory>

Yes, all directories need to have 'Require all granted' on them
somewhere - if you look in /etc/httpd/conf/httpd.conf there is the
definition of the default document root and in that it has the Require
line - that is inherited by all subdirectories so you don't need to
explicitly state it.  But if you use a directory outside document root,
then you need to put it into the definition.

And again if you don't intend to use .htaccess files, then remove the
AllowOverride line.

P.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux