pequeno Posted October 13, 2018 Share Posted October 13, 2018 Hello, in "uploads" folder (for example), the .htaccess file have this Apache directive: <Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml|([a-z0-9]{32}))$"> Order allow,deny Deny from all </Files> I think that this is for Apache 2.2, not for Apache 2.4 https://httpd.apache.org/docs/2.4/upgrading.html What happens with the servers that use Apache 2.4? What is the correct directive for Apache 2.4? Many Thanks. Link to comment Share on other sites More sharing options...
Adlago Posted October 13, 2018 Share Posted October 13, 2018 1 hour ago, pequeno said: What happens with the servers that use Apache 2.4? What is the correct directive for Apache 2.4? I use Apache 2.4.35. In my htaccess file, directory uploads, directive is the same. Everything works well, I have not noticed issues. Link to comment Share on other sites More sharing options...
Martin A. Posted October 13, 2018 Share Posted October 13, 2018 From the link you referred to: Quote The old access control idioms should be replaced by the new authentication mechanisms, although for compatibility with old configurations, the new module mod_access_compat is provided. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.