Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106548 - Incorrect default PmaAbsoluteUri value i phpmyadmin config.
Summary: Incorrect default PmaAbsoluteUri value i phpmyadmin config.
Status: RESOLVED DUPLICATE of bug 104362
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 11:03 UTC by Ulf Axelsson
Modified: 2005-09-19 11:49 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 Ulf Axelsson 2005-09-19 11:03:51 UTC
In my most recent reinstall of phpmyadmin (easiest way to fix the controlpass 
getting invalid) the line:

$cfg['PmaAbsoluteUri'] = 'http://localhost//phpmyadmin';

appears in config.inc.php. This means that the default detection for that value 
is disabled and that browsing to phpmyadmin will not work from any machine but 
the one it is installed on.

Reproducible: Always
Steps to Reproduce:
1. unmerge phpmyadmin
2. delete /var/www/localhost/phpmyadmin and /var/lib/mysql/pmadb
3. emerge phpmyadmin
4. try to browse http://yourservername/phpmyadmin/ from another machine

Actual Results:  
All links and images are broken (points to http://localhost//phpmyadmin/<xxxx>)

Expected Results:  
All links and images should work (point to http://yourserver/phpmyadmin/<xxxx>)

uname -n does not say localhost

ServerName (in apache config) is not localhost

Reproducibility: "Every time" means: I tested it twice with no change ...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 11:49:38 UTC

*** This bug has been marked as a duplicate of 104362 ***