简体   繁体   English

从openshift的公共URL中删除/隐藏phpmyadmin

[英]remove / hide phpmyadmin from public url in openshift

We are struggling a lot with openshift and we are unable to remove / hide phpmyadmin from the public access, even though it is password protected. 我们为openshift付出了很多努力,即使它受到密码保护,也无法从公共访问中删除/隐藏phpmyadmin。

We would like to remove / hide it, I found this tutorial which is closest to what we want but unable to do that as there is no apache.conf file. 我们想删除/隐藏它,我发现本教程与我们想要的教程最接近,但是由于没有apache.conf文件而无法做到。

try to add this in .htaccess file, 尝试将其添加到.htaccess文件中,

Order Deny,Allow
Deny from All
Allow from 121.134.56.1

where put your server ip for 121.134.56.18 将您的服务器IP放在哪里121.134.56.18

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM