Compatibility with secure .htaccess recommendations
-
Hi Frank,
If we are using a plugin like the Sucuri Scanner – https://www.ads-software.com/plugins/sucuri-scanner/ which recommends disallowing php execution in various wp directories Adminer won’t run.
An example of the code via .htaccess that won’t allow Adminer to run via .htaccess rules is…
<Files *.php> deny from all </Files>
So I placed the opposite rule in the Adminer plugin so it will run. Like so…
<Files *.php> allow from all </Files>
I’m not sure, because I didn’t thoroughly test, where this file would precisely be needed for Adminer to run. I just placed it top level, which suffices but may not be the best place needed.
Maybe you can look into it?
Just wanted to update you.The disallowing of php execution by default or globally is recommended by Sucuri and others.
- The topic ‘Compatibility with secure .htaccess recommendations’ is closed to new replies.