Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Chrisco781 on March 24, 2006, 09:58:11 PM

Title: phpmyadmin permissions
Post by: Chrisco781 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?
Title: phpmyadmin permissions
Post by: jfarschman 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
Title: phpmyadmin permissions
Post by: Chrisco781 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.
Title: phpmyadmin permissions
Post by: JonB 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
Title: phpmyadmin permissions
Post by: Chrisco781 on March 25, 2006, 03:49:35 AM
That was it. Thank you both.
Title: phpmyadmin permissions
Post by: cactus 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 (http://bugs.contribs.org/show_bug.cgi?id=1134) with a request for a RewriteRule so users are automatically transfers to the https://url when they try to access the http://url.
Title: phpmyadmin permissions
Post by: raem on March 26, 2006, 11:56:46 AM
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
Title: phpmyadmin permissions
Post by: cactus 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.
Title: phpmyadmin permissions
Post by: badm4n 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 )
Title: phpmyadmin permissions
Post by: raem 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