Solved

phpMyAdmin login page for CentOS

Posted on 2010-09-08
10
936 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
ID: 33631879
your question is not clear,
what is your current setup?
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33632204
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
ID: 33632354
can you try to user another browser?
there are known session issues with phpmyadmin in some browsers
0
 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33633026
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
ID: 33670160
you should check config: /etc/httpd/conf.d/phpmyadmin.conf
this is apache config file about phpmyadmin.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 1

Author Comment

by:TacoFlavoredKisses
ID: 33683930
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
ID: 33729563
Any other ideas or insight before this is closed?
0
 
LVL 3

Expert Comment

by:dr-evil
ID: 33729714
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
ID: 33734300
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
ID: 33775960
how did i miss that.  thank you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

910 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

19 Experts available now in Live!

Get 1:1 Help Now