Welcome! Log In Create A New Profile

Advanced

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

October 10, 2016 04:29AM
Hi Francis,

Wow, this gets stranger......who have cracked it for me....but i have no idea how or why it got there!

there were symlinks in website1.com and website3.com roots public directories for phpmyadmin - symlinked to /usr/share/phpmyadmin.

I never noticed them though as they didnt appear as a folder when browsing the public folder structure with an FTP program.

Only doing as ls on /website1.com/public did it show it.

Removed symlink to /usr/share/phpmyadmin in the 2 root folders and now i get a 404 page if navigatng to /phpmyadmin.....Perfect! :-)

As you can probably tell im primarily a Windows admin and Linux knowledge is limited, thanks to people like yourself though im learning!

PS - Index.php does exists in the public root folders - but the file belongs to WordPress.

PPS - You say:

> if ($http_cookie ~* £PHPSESSID"){
>If that is a copy-paste of the config file, then it probably won't match
>some things that you would want it to.

Could you elaborate on this please if you have time?

Thankyou for your time and help Francis, its most appreciated.
Subject Author Posted

Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

mrast October 06, 2016 06:07PM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

Francis Daly October 07, 2016 09:34AM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

mrast October 07, 2016 10:20AM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

Francis Daly October 09, 2016 11:50AM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

mrast October 09, 2016 12:50PM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

Francis Daly October 09, 2016 03:42PM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

mrast October 10, 2016 04:29AM

Re: Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

Francis Daly October 10, 2016 12:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready