Skip to content

.htaccess in wp-content/wonolog directory is not compatible with mod_authz_core (Apache 2.3+) #23

Closed
@chesio

Description

@chesio

Hi,

the subject says it all :-) It's a minor issue, but it's easy to make .htaccess compatible with newer Apache versions.

Version Information

Steps to Reproduce

  1. Browse the website, trigger generation of wp-content/wonolog/ directory with .htaccess file
  2. Try to access wp-content/wonolog/

What I Expected

403 Forbidden page

What Happened Instead

500 Internal Server Error page

How to fix

<IfModule mod_authz_core.c>
	Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
	Deny from all
</IfModule>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions