Jump to content

Apache 2.4 Access Control directives in .htaccess


pequeno

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...