Date: Sun, 9 Nov 2014 18:19:00 +0000 (UTC) From: Dino Vliet <dino_vliet@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "dinoex@FreeBSD.org" <dinoex@FreeBSD.org> Subject: can't access phppgadmin although I tried everything Message-ID: <1856838044.143276.1415557140394.JavaMail.yahoo@jws10693.mail.bf1.yahoo.com>
next in thread | raw e-mail | index | archive | help
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 { disp=
lay: inline; border: medium none; padding: 0px; font-size: 100%; font-weigh=
t: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { =
text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-i=
mage: none; margin-left: 0px; padding-left: 0px; text-align: left; }#toc ul=
ul, .toc ul ul { margin: 0px 0px 0px 2em; }#toc .toctoggle, .toc .toctoggl=
e { font-size: 94%; }body { font-family: "Times New Roman"; font-variant: n=
ormal; widows: 2; font-style: normal; text-indent: 0in; font-size: 12pt; co=
lor: 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/p=
hppgadmin.conf):
=C2=A0Alias /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>
=C2=A0My pg_hba.conf file consists of:# TYPE=C2=A0 DATABASE=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 USER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 ADDRESS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 METHOD
# "local" is for Unix domain socket connections only
local=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 md5
# IPv4 local connections:
host=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 127.0.0.1/32=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 md5
host=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 192.168.2.0/24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 md5
=20
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 wha=
t 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=C2=A0=C2=A0=C2=A0=C2=A0 root@amd64-builder.d=
aemonology.net:/usr/obj/usr/src/sys/GENERIC=C2=A0 amd64
My php5 ports are:php5-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 PHP S=
cripting Language
php5-bz2-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The bz2 shared extension for php
php5-calendar-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 The calendar shared extension for php
php5-ctype-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 The ctype shared extension for php
php5-dom-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The dom shared extension for php
php5-extensions-1.7=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 A "meta-port" to install PHP extensions
php5-filter-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 The filter shared extension for php
php5-gd-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The gd shared extension for php
php5-gettext-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 The gettext shared extension for php
php5-hash-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 The hash shared extension for php
php5-iconv-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 The iconv shared extension for php
php5-json-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 The json shared extension for php
php5-mcrypt-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 The mcrypt shared extension for php
php5-openssl-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 The openssl shared extension for php
php5-pdo-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The pdo shared extension for php
php5-pdo_sqlite-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The =
pdo_sqlite shared extension for php
php5-pgsql-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 The pgsql shared extension for php
php5-phar-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 The phar shared extension for php
php5-posix-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 The posix shared extension for php
php5-session-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 The session shared extension for php
php5-simplexml-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
The simplexml shared extension for php
php5-soap-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 The soap shared extension for php
php5-sqlite3-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 The sqlite3 shared extension for php
php5-tokenizer-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
The tokenizer shared extension for php
php5-xml-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The xml shared extension for php
php5-xmlreader-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
The xmlreader shared extension for php
php5-xmlwriter-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
The xmlwriter shared extension for php
php5-zip-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The zip shared extension for php
php5-zlib-5.4.24=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 The zlib shared extension for php
Who knows what the problem is?
Brgds
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1856838044.143276.1415557140394.JavaMail.yahoo>
