Find the answer to your Linux question:
Results 1 to 2 of 2
in LAN , i can access via (centos5.2) ssh. and open apache via 80 (192.168.1.250) but whenever i try to access 192.168.1.250/phpmyadmin it gives folowing errors Code: You don't have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    27

    You don't have permission to access /phpmyadmin on this server.


    in LAN , i can access via (centos5.2) ssh. and open apache via 80 (192.168.1.250) but whenever i try to access 192.168.1.250/phpmyadmin it gives folowing errors

    Code:
    You don't have permission to access /phpmyadmin on this server.

  2. #2
    Just Joined! deakons's Avatar
    Join Date
    Mar 2009
    Location
    New York
    Posts
    16
    Depending on your httpd.conf file, it probably states something like.

    Alias /phpmyadmin YOUR_PHPMYADMIN_LOCATION/phpMyAdmin

    <Directory *YOUR_PHPMYADMIN_LOCATION*/phpMyAdmin>
    order deny,allow
    deny from all
    allow from 127.0.0.1
    </Directory>

    meaning you can only view phpMyAdmin from the server itself (hence the 127.0.0.1). This is for security.

    If the server supports X11Forwarding, try ssh -Y "servername"

    then run a browser from that server and navigate to your phpMyAdmin url.

    or if you are more familiar with vnc you can use that method.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •