[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Have phpmyadmin use relative urls

Posted on 2011-09-27
2
Medium Priority
?
461 Views
Last Modified: 2012-05-12
I'm trying to use phpmyadmin through a proxy server and I'm running into a problem where the links in phpmyadmin are constructed with absolute urls, which don't work on the other side of the proxy.

Is there any way to setup phpmyadmin to use relative urls?
0
Comment
Question by:opike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
mattjp88 earned 2000 total points
ID: 36715635
I don't think there's a way to have phpmyadmin use relative URLs, but your best bet would be to set the PmaAbsoluteUri paramter of phpmyadmin's settings.  http://wiki.phpmyadmin.net/pma/Config/PmaAbsoluteUri

Depending on what type of proxy you are using, you may need to dynamically set that parameter depending on $_SERVER values

-Matt
0
 

Author Closing Comment

by:opike
ID: 36716664
Exactly what I needed. Thanks!
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

649 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