How to fix the error You don’t have permission to access /phpMyAdmin on this server 4

Posted by Randika on May 17, 2009

After installing phpMyAdmin on fedora (FC10) with yum you may notice this error when trying to access it via a remote node.

Forbidden
You don’t have permission to access /phpMyAdmin on this server.

This may trigger due to the restrictions which assigned with the default config file. Open it with your favorite editor from the path below.

[root@megantereon /]# vi /etc/httpd/conf.d/phpMyAdmin.conf

by default you can only access phpMyAdmin only over localhost. The rule is here.

Alias /phpMyAdmin /usr/share/phpMyAdmin
order deny,allow
deny from all allow from 127.0.0.1

To allow access over remote web browsers, comment out the lines on the above config file as shown below.

Alias /phpMyAdmin /usr/share/phpMyAdmin
#order deny,allow
#deny from all allow from 127.0.0.1

How to configure yum to get through a proxy

Posted by Randika on May 10, 2009

Today I had a new problem with one of a Fedora 8 server. The issue was with “yum”. When I try to install some apps with yum it didn’t work for me. Sorry I can’t really remember the error at this time. But It was something related to Yum repository is not accessible.

First I thought there is some issue with internet, but I was wrong. Internet was fine. The server’s internet connection was running with a proxy. So I realized there is still something to do with yum configuration.

So I had to google a bit to find out a solution or fix for get through the proxy server. here is what I did.

I just execute this command on a shell prompt and yum worked fine for me.
NOTE: my proxy server is 130.10.32.3 on port 9000. make sure to use your one instead :)

export http_proxy=http://130.10.xxx.xxx:xxxx
export ftp_proxy=http://130.10.xxx.xxx:xxxx

Alternately you may add this line to /etc/yum.conf

http_proxy=http://130.10.xxx.xxx:xxxx
ftp_proxy=http://130.10.xxx.xxx:xxxx