can't access phppgadmin although I tried everything
Dino Vliet
dino_vliet at yahoo.com
Sun Nov 9 18:27:17 UTC 2014
Dear userlist,
I have installed phppgadmin and configured it with the help of this: #toc, .toc, .mw-warning { border: 1px solid rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding: 5px; font-size: 95%; }#toc h2, .toc h2 { display: inline; border: medium none; padding: 0px; font-size: 100%; font-weight: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0px; padding-left: 0px; text-align: left; }#toc ul ul, .toc ul ul { margin: 0px 0px 0px 2em; }#toc .toctoggle, .toc .toctoggle { font-size: 94%; }body { font-family: "Times New Roman"; font-variant: normal; widows: 2; font-style: normal; text-indent: 0in; font-size: 12pt; color: rgb(0, 0, 0); text-decoration: none; font-weight: normal; text-align: left; }table { }td { border-collapse: collapse; text-align: left; vertical-align: top; } http://daemon-notes.com/articles/web/phppgadmin
My phppgadmin.conf file consists of (vi /usr/local/etc/apache24/Includes/phppgadmin.conf):
Alias /postgres "/usr/local/www/phpPgAdmin/"
<Directory "/usr/local/www/phpPgAdmin/">
Options None
AllowOverride None
Order Allow,Deny
#Deny from all
#Allow from 127.0.0.1 192.168.2.0/24
Allow from all
</Directory>
My pg_hba.conf file consists of:# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all md5
# IPv4 local connections:
host all all 127.0.0.1/32 md5
host all all 192.168.2.0/24 md5
However, I can't get access when doing this:http://192.168.2.102/postgres
The error I get is:
Forbidden
You don't have permission to access /postgreson this server.Do you know what I'm missing?
My system is:FreeBSD testserver1 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #0: Mon Sep 15 14:35:52 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
My php5 ports are:php5-5.4.24 PHP Scripting Language
php5-bz2-5.4.24 The bz2 shared extension for php
php5-calendar-5.4.24 The calendar shared extension for php
php5-ctype-5.4.24 The ctype shared extension for php
php5-dom-5.4.24 The dom shared extension for php
php5-extensions-1.7 A "meta-port" to install PHP extensions
php5-filter-5.4.24 The filter shared extension for php
php5-gd-5.4.24 The gd shared extension for php
php5-gettext-5.4.24 The gettext shared extension for php
php5-hash-5.4.24 The hash shared extension for php
php5-iconv-5.4.24 The iconv shared extension for php
php5-json-5.4.24 The json shared extension for php
php5-mcrypt-5.4.24 The mcrypt shared extension for php
php5-openssl-5.4.24 The openssl shared extension for php
php5-pdo-5.4.24 The pdo shared extension for php
php5-pdo_sqlite-5.4.24 The pdo_sqlite shared extension for php
php5-pgsql-5.4.24 The pgsql shared extension for php
php5-phar-5.4.24 The phar shared extension for php
php5-posix-5.4.24 The posix shared extension for php
php5-session-5.4.24 The session shared extension for php
php5-simplexml-5.4.24 The simplexml shared extension for php
php5-soap-5.4.24 The soap shared extension for php
php5-sqlite3-5.4.24 The sqlite3 shared extension for php
php5-tokenizer-5.4.24 The tokenizer shared extension for php
php5-xml-5.4.24 The xml shared extension for php
php5-xmlreader-5.4.24 The xmlreader shared extension for php
php5-xmlwriter-5.4.24 The xmlwriter shared extension for php
php5-zip-5.4.24 The zip shared extension for php
php5-zlib-5.4.24 The zlib shared extension for php
Who knows what the problem is?
Brgds
More information about the freebsd-questions
mailing list