Solved

Have phpmyadmin use relative urls

Posted on 2011-09-27
2
380 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
2 Comments
 
LVL 6

Accepted Solution

by:
mattjp88 earned 500 total points
Comment Utility
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
Comment Utility
Exactly what I needed. Thanks!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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…

771 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