Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

apache 2.4 compatibility

$
0
0

Replies: 0

/var/wwwroot/pukeatua/wp-content/plugins/booking.bm.8.0/js/captcha/tmp/.htaccess: Invalid command ‘Order’, perhaps misspelled or defined by a module not included in the server configuration

.htaccess has the old apache 2.2 access restriction deny from, allow from….

ref: https://httpd.apache.org/docs/2.4/upgrading.html

Suggest the following file:

# apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
<Files ~ “^[0-9A-Za-z]+\.(jpeg|gif|png)$”>
Allow from all
</Files>
</IfModule>

# apache 2.4
<IfModule mod_authz_core.c>
Require all denied
<Files ~ “^[0-9A-Za-z]+\.(jpeg|gif|png)$”>
Require all granted
</Files>
</IfModule>


Viewing all articles
Browse latest Browse all 59525

Trending Articles