Koozali.org: home of the SME Server

phpmyadmin permissions

Chrisco781

phpmyadmin permissions
« on: March 24, 2006, 09:58:11 PM »
Downloaded smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm
Installed phpmyadmin
rpm -Uvh smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm
opened browser and went to http://cserve/phpmyadmin and received this message:
Forbidden

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

Is there a certain folder that  I need to chmod?

Offline jfarschman

  • *
  • 406
  • +0/-0
phpmyadmin permissions
« Reply #1 on: March 24, 2006, 11:04:42 PM »
Chrisco,

  It should ask you for a password before giving you the forbidden message.  I am guessing that you have the httpd.conf file changed to require a user

grep "require user" /etc/httpd/conf/httpd.conf

You should see one or more lines that tell you admin is the required user.  You may want to look into that file and make sure this is actually under the phpmyadmin seciton.

Did you restart the web service?

/etc/init.d/httpd stop
/etc/init.d/httpd start
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Chrisco781

phpmyadmin permissions
« Reply #2 on: March 25, 2006, 12:39:34 AM »
Does not ask for a password before giving me the forbidden message.
I entered
   grep "require user" /etc/httpd/conf/httpd.conf
and I did see
   require user admin
Not sure how to look into that file and make sure this is actually under the phpmyadmin seciton.

Stoped and started web service
   /etc/init.d/httpd stop
   /etc/init.d/httpd start
Still getting same forbidden message.

Offline JonB

  • *
  • 351
  • +0/-0
phpmyadmin permissions
« Reply #3 on: March 25, 2006, 03:42:13 AM »
You need to use a secure login, even from the local network

i.e https://cserve/phpmyadmin

Jon
...

Chrisco781

phpmyadmin permissions
« Reply #4 on: March 25, 2006, 03:49:35 AM »
That was it. Thank you both.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
phpmyadmin permissions
« Reply #5 on: March 25, 2006, 02:20:33 PM »
Quote from: "JonB"
You need to use a secure login, even from the local network

i.e https://cserve/phpmyadmin

Jon


I filed a bug report with a request for a RewriteRule so users are automatically transfers to the https://url when they try to access the http://url.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline raem

  • *
  • 3,972
  • +4/-0
phpmyadmin permissions
« Reply #6 on: March 26, 2006, 11:56:46 AM »
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
phpmyadmin permissions
« Reply #7 on: March 26, 2006, 12:02:35 PM »
Quote from: "RayMitchell"
cactus

>....request for a RewriteRule so users are automatically transfers to the https://url

See
http://mirror.contribs.org/smeserver//contribs/rmitchell/smeserver/howto/https%20ibay%20forced%20redirection%20HOWTO%20for%20sme%20server.htm


Thanks that sure is helpfull (although I already knew how to do this)  but I think the author (D May) of the contrib should provide a RewriteRule in his RPM as he does not allow for unauthorized/anonymous plain http access to the ibay (/phpmyadmin) created by his RPM as stated earlier by JonB.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

badm4n

phpmyadmin permissions
« Reply #8 on: February 25, 2007, 09:51:24 AM »
i have that problem too

http://192.168.1.254/phpmyadmin

You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.

--------------------------------------------------------------------------------

If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the 192.168.1.254 home page.

You can click  Search to look for information on the Internet.

 
----=-=-=-=-
i get the rpm from : [root@exserv html]# rpm -ivh http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpmyadmin-2.9.0.2-0.dmay.noarch.rpm


[root@exserv html]# grep "require user" /etc/httpd/conf/httpd.conf
    require user admin
[root@exserv html]#

and still 403 error ( forbidden )

Offline raem

  • *
  • 3,972
  • +4/-0
phpmyadmin permissions
« Reply #9 on: February 26, 2007, 03:01:30 AM »
badm4n

> i have that problem too

Didn't you read this thread ???
Use https:
ie
https://192.168.1.254/phpmyadmin
...