Solved

Have phpmyadmin use relative urls

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

688 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