Solved

Have phpmyadmin use relative urls

Posted on 2011-09-27
2
429 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 500 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I Import CSV File In my PHP Application 29 71
PHP substring 3 50
PHP MYSQLI Connection in Function in a class 4 28
PHP, Curl and XML 13 9
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…
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…

732 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