PHPPGADMIN 4.2.2 access problem from client ip

Asked by ramesh raman

Hi Team,

I installed phppgadmin in Ubuntu10.04 LTS. I tried to allow only local user connection but it is not working it throws below error in the browser.
Forbidden

You don't have permission to access /phppgadmin/ on this server.
Apache/2.2.22 (Ubuntu) Server at 10.44.0.218 Port 80

My phppgadmin configuration details:
root@webstar:~# cat /etc/apache2/conf.d/phppgadmin
Alias /phppgadmin /usr/share/phppgadmin

<Directory /usr/share/phppgadmin>

DirectoryIndex index.php
AllowOverride None

order deny,allow
deny from all
#allow from 127.0.0.0/255.0.0.0 ::1/128
#allow from 127.0.0.0/255.0.0.0 ::1/128 10.43.16.0/255.255.255.192
allow from 10.43.16.65/26
#allow from 10.43.16.68/26
#allow from all

<IfModule mod_php5.c>
  php_flag magic_quotes_gpc Off
  php_flag track_vars On
  php_value include_path .
</IfModule>
<IfModule !mod_php5.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>
root@webstar:~#

Please advise me to do successfully.

Thanks in Advance
Ramesh R

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ntp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you help with this problem?

Provide an answer of your own, or ask ramesh raman for more information if necessary.

To post a message you must log in.