我在乌兰巴托服务器上安装了黄灯,希望从另一台电脑进入。
它说,在一类情况下,不准进入:
http://<ip>/phppgadmin
5432号港口在乌兰巴托服务器开放,但仅供当地人使用。
增 编
我在乌兰巴托服务器上安装了黄灯,希望从另一台电脑进入。
它说,在一类情况下,不准进入:
http://<ip>/phppgadmin
5432号港口在乌兰巴托服务器开放,但仅供当地人使用。
增 编
The /etc/apache2/conf.d/phppgadmin.conf: Format file by Back, all original localhost from access PhpPgAdmin.
添加一条新允许原则的行文,这样就看:
<Location /phppgadmin>
Order deny,allow
Deny from all
Allow from [Your client IP]
</Location>
这样,这类问题可能更适合留守姐妹网站serverfault.com。
我知道这是一个老的问题,但由于我 st忙地试图确定“未能装满资源:服务器在试图从另一台计算机进入SandoPgAdmin时,反应了403个(隐蔽的)错误,而给我的答复却不奏效,因此,我要分享我的解决方案。
乌班图:17.04;phpPgAdmin:5.1
Solution: Comment out Require local in /etc/apache2/conf-enabled/phppgadmin.conf and restart apache (sudo service apache2 reload)
<Directory /usr/share/phppgadmin>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
AllowOverride None
# Only allow connections from localhost:
# Require local
<IfModule mod_php.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
#php_value include_path .
</IfModule>
<IfModule !mod_php.c>
<IfModule mod_actions.c>
<IfModule mod_cgi.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
<IfModule mod_cgid.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
</IfModule>
</IfModule>
</Directory>
/etc/apache2/conf-enabled/phppgadmin.conf
这是一个海滩(或网络服务器)问题。 You re phppgadminDirectory has a.htaccess file disallowing EVERYONE than localhost.
你们要么把它搁置起来,要么允许(此处插入IP)。
你们是否跑了阿帕奇?
你们需要修改你们在httpsd上的许可。 conf 或
rel=“nofollow noreferer”> http://d.apache.org/docs/2.0/misc/security_tips.html。
我还要谈谈我的解决方案。
Debian 10.1 with Papa 2.4.38 and phpPgAdmin 5.1 on 64-Bit ARM.
以下会议将允许地方和局域网进入,但(出于安全原因)无广域网。
/etc/apache2/conf-enabled/phppgadmin.conf
<Directory /usr/share/phppgadmin>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
AllowOverride None
# Only allow connections from localhost:
#Require local
Order deny,allow
Deny from all
Allow from ::1
Allow from 127.0.0.1
Allow from 192.168.0.0/16
Allow from 172.16.0.0/12
Allow from 10.0.0.0/8
<IfModule mod_php.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
#php_value include_path .
</IfModule>
<IfModule !mod_php.c>
<IfModule mod_actions.c>
<IfModule mod_cgi.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
<IfModule mod_cgid.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
</IfModule>
</IfModule>
</Directory>
I installed PhpPgAdmin in CentOS. Every time select an object (database, table, schema,..) PhpPgAdmin asks me to enter my login and password. Left side menu (Servers->PostgreSQL) not connected. ...
Is there a way to show the SQL query executed by phpPgAdmin as the way phpMyAdmin does? For example, if I modify a column, it should show the ALTER command being executed. If this is not possible, ...
I m trying to install phpPgAdmin as an XAMPP addon when I encountered an error because the latest phpPgAdmin supports upto PostgreSQL version 8.3.x. So I decided to install PostgreSQL 8.3.11 instead ...
我在乌兰巴托服务器上安装了黄灯,希望从另一台电脑进入。
I ve got a CSV file that looks like this: id, name 0, A.D. TRAMONTANA 1, Abarth 2, Abbot-Detroit 3, AC ... I m trying to import it into my table via phpPgAdmin. It gives me this error: SQL error: ...
I am attempting to create a View in PhpPgAdmin (PostGreSQL db) which has the following SQL statement: DELETE FROM myTable WHERE myTable.error IS NULL; PhpPgAdmin gives me the following error: ...
In phpMyAdmin I can delete rows without using SQL. Is there a way to do this in phpPgAdmin ?
I ve got one Posgresql database (I m the owner) and I d like to drop it and re-create it from a dump. Problem is, there re a couple applications (two websites, rails and perl) that access the db ...