You are not logged in.

#1 2016-11-20 17:43:18

aurelien
Member
From: Corse du Sud
Registered: 2014-06-04
Posts: 3
Website

phppgadmin forbidden access to index.php

HI,

Trying to install phppgadmin, I follow the wiki page on phppgadmin, but still get forbidden access to index.php

I have also tried with the ip without success

Alias /phppgadmin "/usr/share/webapps/phppgadmin"
<Directory "/usr/share/webapps/phppgadmin">
    DirectoryIndex index.php
    AllowOverride All
    Options FollowSymlinks
    Require local
    Order Deny,Allow
    Allow from <ip>
</Directory>

And the status of httpd is ok


Run Free! Run GNU.org

Offline

#2 2016-11-20 17:58:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,848
Website

Re: phppgadmin forbidden access to index.php

That config block isn't what is described on the wiki page, and appears to be partially written for an older version of Apache. Apache 2.4 doesn't use Order and Allow directives (at least, not by default), remove these. Your Require statement should suffice by itself. If you still have trouble, post the relevant apache logs and/or journal, depending on how apache logs things these days.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-11-20 18:12:02

aurelien
Member
From: Corse du Sud
Registered: 2014-06-04
Posts: 3
Website

Re: phppgadmin forbidden access to index.php

I have change the configuration as the wiki says and here is the log from /var/log/httpd/error_log
[Sun Nov 20 19:10:33.700281 2016] [authz_core:error] [pid 25136] [client x] AH01630: client \
denied by server configuration: /usr/share/webapps/phppgadmin

Last edited by aurelien (2016-11-20 18:12:30)


Run Free! Run GNU.org

Offline

Board footer

Powered by FluxBB