简体   繁体   中英

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.

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.

try to add this in .htaccess file,

Order Deny,Allow
Deny from All
Allow from 121.134.56.1

where put your server ip for 121.134.56.18

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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