Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Phpmyadmin URL change..

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
dickbutt
Posts: 13
Joined: Mon Nov 13, 2017 5:20 pm

Os: CentOS 5x
Web: nginx + php-fpm
Phpmyadmin URL change..
  • Quote

Post by dickbutt » Fri Dec 29, 2017 4:47 pm

I recently changed my phpmyadmin url in phpmyadmin.inc and basically i can go to my domain.com/customphpmyadmin and it will work fine... but i also found out even though i changed this URL i can still go to domain.com/phpmyadmin ? Any idea how to stop that ?

The setup is Nginx/php-fpm/centos7/
Top

dickbutt
Posts: 13
Joined: Mon Nov 13, 2017 5:20 pm

Os: CentOS 5x
Web: nginx + php-fpm
Re: Phpmyadmin URL change..
  • Quote

Post by dickbutt » Fri Dec 29, 2017 5:11 pm

imperio wrote:How about the domains virtualhosts ?
This is in the nginx.conf " include /etc/nginx/conf.d/phpmyadmin.inc*; " also looked in snginx.conf and same.. This is actually a new server so there's only the one domain on it.

This is what is in my phpmyadmin.inc

"
location /scdb{
alias /usr/share/phpMyAdmin/;

location ~ /(libraries|setup) {
return 404;
}

location ~ ^/scdb/(.*\.php)$ {
alias /usr/share/phpMyAdmin/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~* ^/scdb/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
alias /usr/share/phpMyAdmin/$1;
}
}
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password