![]() |
#1 |
Junior Member
Join Date: Oct 2020
Posts: 2
![]() |
![]()
Hi
I want to secure www.mywebsite.com/myPhpAdmin link with extra security check and eventually allowing just an IP to have access to it. I have in /etc/httpd/conf.d/ 2 files. One file phpMyAdmin.conf with a single line and in phpmyadmin.conf a file something like: I created in usr/share/phpMyAdmin even an .htaccess file with the following content AuthType BasicThe problem is that any modifications done to this file, phpmyadmin.conf (other than the Apache tags where I saw that the modifications affect the website) are not actually seen in www.mywebsite.com/phpmyadmin link or in the-ip-adress/phpmyadmin link. No alias can be see, the window with the password set in /etc/phpMyAdmin/.htpasswd file is not visible and the phpMyAdmin can be accessed from all the IPs. I have a dedicated server with Apache 2.4.6-93.el7.centos and all the packages were installed by a guy who can not help me anymore with any informations. Somewhere on the internet I read about copying the phpmyadmin file in other folder, for visibility in Ubuntu, but I didn't find any informations regarding modifications in Centos. I restarted the apache server after modifications done and nothing. Where is the problem? What did I miss? Thanks you for your kindness and help! Last edited by getdoge1921; 10-30-2020 at 05:56 AM. |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Oct 2020
Posts: 2
![]() |
![]()
The post can be closed.
The modifications were done in nginx folder and they worked. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|