I just set up phppgadmin
on my webserver (a Debian Jessie) and I configure Apache this way to access it:
<Virtualhost *:80>
ServerName pga.mydomain.com
DocumentRoot /usr/share/phppgadmin
<Directory /usr/share/phppgadmin>
DirectoryIndex index.php
Order deny,allow
Allow from all
</Directory>
</Virtualhost>
It is rightly in its place in /etc/apache2/site-available
and I enabled it with a2ensite
. (edit: I did exactly the same for phpmyadmin
and it works perfectly.)
However, when I try to access it through http://pga.mydomain.com
, I get a 403 Forbidden error. If I take a look at my Apache log, I find the following:
[authz_core:error] [pid 32700] [client xxx.xxx.xxx.xxx:36059] AH01630: client denied by server configuration: /usr/share/phppgadmin/
It seems to me that the Allow from all
should let me access it even remotely. I tried different combinations of permissions, neither of them working. I see this error floating around a lot but I did not find a satisfactory solution yet. Any advice would be greatly appreciated!