[CentOS] Centos 7 httpd Permission problems with Postfixadmin
Pete Biggs
pete at biggs.org.uk
Fri Feb 17 17:42:15 UTC 2017
On Fri, 2017-02-17 at 12:02 -0500, Robert Moskowitz wrote:
> More joy with Centos 7.
>
> I am having permission problems with Postfixadmin. I am installing as
> I have in my notes I did in Centos6 and it is not working.
>
> I untar Postfixadmin into /usr/share. The owner is root:root (I even
> tried root:apache). My postfixadmin.conf file has:
>
> alias /mailadmin /usr/share/postfixadmin
> <Directory "/usr/share/postfixadmin">
> AllowOverride AuthConfig
> </Directory>
>
> And I get when I try fqdn/mailadmin
>
> You don't have permission to access /mailadmin on this server.
>
>
> It is as if there is some new security setting in httpd for files not
> in the www dir (default of /var/www/).
No, accessing directories outside document root is perfectly acceptable
behaviour as far as I can see.
>
> Any ideas?
>
Just to check, you did restart/reload apache after making the changes?
What do the apache logs say about it? That will tell you if it's a
permissions problem or a redirection issue.
P.
More information about the CentOS
mailing list