Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246519 - dev-db/phpmyadmin-2.11.9.2 default configuration shouldn't set PmaAbsoluteUri
Summary: dev-db/phpmyadmin-2.11.9.2 default configuration shouldn't set PmaAbsoluteUri
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 17:40 UTC by Isaac Bennetch
Modified: 2008-11-15 11:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Isaac Bennetch 2008-11-12 17:40:25 UTC
The Gentoo package of phpMyAdmin comes with PmaAbsoluteUri set for http://localhost... -- this is a bad idea as any access from another machine will fail. Instead PmaAbsoluteUri should not be over-ridden; the default (blank; autodetected) value works in most cases and by setting it to localhost, breaks user expectations and network use.

Reproducible: Always

Steps to Reproduce:
1. Install phpMyAdmin on the server
2. Attempt to access across network (http://example/phpmyadmin or http://192.168.1.25/phpmyadmin)
3. phpMyAdmin tries to load of the client as http://localhost/phpmyadmin is enforced

Actual Results:  
Error page

Expected Results:  
Using phpMyAdmin
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-14 21:33:37 UTC
web-apps: I think just INVALID this bug request. The user should have their VHOST setting correct rather than incorrect.

Removing mysql-bugs as part of a bug-trimming exercise.
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2008-11-15 08:08:49 UTC
Thanks for the note Robin. I assumed something like that as I always test remote access to the webapps when bumping anyway and never had problems with phpmyadmin. Closing as invalid.
Comment 3 Isaac Bennetch 2008-11-15 11:40:02 UTC
Hello and please forgive me for disagreeing. I think perhaps you didn't understand me. 

(In reply to comment #2)
> ... never had problems with  phpmyadmin. Closing as invalid.

So you are saying that the Gentoo phpMyAdmin package does not set the PmaAbsoluteUri, correct?

(In reply to comment #1)
> web-apps: I think just INVALID this bug request. The user should have their
> VHOST setting correct rather than incorrect.

This has nothing to do with a VHOST. This is about a configuration option within phpMyAdmin that is in place to over-ride PMA's internal URL generation and force things to work properly when using port forwarding with an external proxy. Since that is not the case in 95% of users' configurations, it almost always should be left blank. I don't see how requiring the user to configure a VHOST has anything to do with the code within PMA, if you read the relevant section of the phpMyAdmin documentation and sill think this is user error, could you explain to me?

Thanks for your work. 
> 
> Removing mysql-bugs as part of a bug-trimming exercise.
>