Solved

phpMyAdmin login page for CentOS

Posted on 2010-09-08
10
933 Views
Last Modified: 2013-12-06
In Ubuntu I have always had a login page where the user could log in and out of the phpMyAdmin console.

I am setting it up in CentOS, but do not see any way to get this same functionality.  Is there a way to set it up the same way?  Google has not produced anything helpful.
0
Comment
Question by:TacoFlavoredKisses
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 9

Expert Comment

by:khaledf
Comment Utility
your question is not clear,
what is your current setup?
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
Comment Utility
Current setup is CentOS 5.5, latest apache, php, mysql, and phpmyadmin.

In Ubuntu server if you navigate to the page 1.2.3.4/phpmyadmin you would get a login webpage.  You could log in, and then when done click exit and be returned to the same page to log in as another user.

When I set this up in CentOS and go to 1.2.3.4/phpmyadmin it instead asks for a login from the browser popup, and does not use the login webpage as the other version does.  Also, clicking exit simply returns you to the same page, still logged in.  Closing the browser window is the only real way to log out with my current setup.

0
 
LVL 9

Expert Comment

by:khaledf
Comment Utility
can you try to user another browser?
there are known session issues with phpmyadmin in some browsers
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
Comment Utility
I tried a few, but they all pop up a browser login instead of a phpmyadmin login page, such as this:

http://demo.phpmyadmin.net/STABLE/

0
 
LVL 3

Expert Comment

by:dr-evil
Comment Utility
you should check config: /etc/httpd/conf.d/phpmyadmin.conf
this is apache config file about phpmyadmin.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Author Comment

by:TacoFlavoredKisses
Comment Utility
I have checked that file, but do not see what it would need to show the login page as opposed to the popup auth.
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
Comment Utility
Any other ideas or insight before this is closed?
0
 
LVL 3

Expert Comment

by:dr-evil
Comment Utility
sorry.
Let's try one more time.
Plz show us a screenshot of password request, /etc/httpd/conf.d/phpmyadmin.conf and authorization type in phpmyadmin config.
0
 
LVL 7

Accepted Solution

by:
ziceva earned 500 total points
Comment Utility
The solution is in the config.inc.php file ...
Look for the line:

$cfg['Servers'][0]['auth_type']='http'

You get the behavior you want by changing this to:

$cfg['Servers'][0]['auth_type']='cookie'

More details about the auth_types here: http://wiki.phpmyadmin.net/pma/auth_types

0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
Comment Utility
how did i miss that.  thank you.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now