Welcome! Log In Create A New Profile


Auth Problems with phpMyAdmin / Apache Proxy

Posted by Dayo 
Auth Problems with phpMyAdmin / Apache Proxy
August 02, 2010 07:33AM

Setting up a Centos 5.5 VPS to run Nginx as a caching reverse proxy to Apache and it is all peaches and cream apart from an issue with authenticating into phpMyAdmin.

I have set up basic auth in Apache for requests to mysite/phpmyadmin as I don't want people bypassing auth by going directly to http:/ /mysite:apacheport/phpmyadmin

/phpMyAdmin is setup as an alias to the actual phpMyAdmin install directory ln Apache.

Now, requesting http:/ /mysite:apacheport/phpmyadmin works fine. However http:/ /mysite/phpmyadmin (i.e. via nginx), brings up the http auth dialog fine but always returns an "incorrect password" response.

Any clues on how to get it working? I don't want to add a redirect to http:/ /mysite:apacheport/phpmyadmin under a /phpMyAdmin location in my Nginx conf if possible.

I am on Nginx 0.7.65


Edited 2 time(s). Last edit at 08/02/2010 07:40AM by Dayo.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 217
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready