Htaccess phpmyadmin htaccess
Htaccess phpmyadmin htaccess
Hi, can help me?
I will my phpmyadmin with a htaccess how can I do that?
I will my phpmyadmin with a htaccess how can I do that?
Re: Htaccess phpmyadmin htaccess
Hi,
I am guessing you want to protect phpmyadmin from public access.
In the file:
You can find and change:
replace with your own ip, you can add multiple lines.
Restart/reload apache after the change.
I am guessing you want to protect phpmyadmin from public access.
In the file:
Code: Select all
/etc/httpd/conf.d/phpMyAdmin.conf
Code: Select all
<Directory /usr/share/phpMyAdmin/>
Order Deny,Allow
Deny from All
Allow from 12.34.56.78
</Directory>
Code: Select all
12.34.56.78
Restart/reload apache after the change.
Re: Htaccess phpmyadmin htaccess
I am testing.
and how do I do that with cp and roundcube htaccess
and how do I do that with cp and roundcube htaccess
Re: Htaccess phpmyadmin htaccess
Code: Select all
/etc/httpd/conf.d/roundcubemail.conf
Re: Htaccess phpmyadmin htaccess
Thank. I have the same problem, I hope it will help me mod_security for my site.daz123 wrote: ↑Sat May 04, 2019 5:38 pmYou do the same kind of thing with that file, btw if you are worried about those apps being hacked in the future, you could just install mod_securityCode: Select all
/etc/httpd/conf.d/roundcubemail.conf
Re: Htaccess phpmyadmin htaccess
Create a backup copy before you edit any .htaccess file. I am giving you a reference article, might this help you https://mythemeshop.com/blog/edit-htaccess-file/
-
- Posts: 2
- Joined: Tue Jun 16, 2020 8:03 am
- Os: Ubuntu 16x
- Web: apache
Re: Htaccess phpmyadmin htaccess
Hey grillguru, I agree with this guy so hard. Learned the hard way for my dear site to ALWAYS back up back up back up!!! Not going into detail, because it just makes my blood boil. grrrr. Also jrdavid! Nice article - read the whole thing and learned a lot. So neat my guy 👌jrdavid wrote: ↑Mon Mar 16, 2020 4:59 pmCreate a backup copy before you edit any .htaccess file. I am giving you a reference article, might this help you https://mythemeshop.com/blog/edit-htaccess-file/
-
- Posts: 2
- Joined: Tue Jun 16, 2020 10:26 pm
- Os: Ubuntu 16x
- Web: apache
Re: Htaccess phpmyadmin htaccess
You know what, this is useful for me too. I also need mod security for my site. I want the best for it. This thread also reminded me to backup everything.James wrote: ↑Mon Jun 10, 2019 5:25 amThank. I have the same problem, I hope it will help me mod_security for my site.daz123 wrote: ↑Sat May 04, 2019 5:38 pmYou do the same kind of thing with that file, btw if you are worried about those apps being hacked in the future, you could just install mod_securityCode: Select all
/etc/httpd/conf.d/roundcubemail.conf
Re: Htaccess phpmyadmin htaccess
You just save my Ass!! My websitesuffering from this issue for a long time. Now I need to backup my website.