Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
chesio opened this issue Jul 14, 2017 · 4 comments
Assignees

Comments

@chesio
Copy link
Contributor

chesio commented Jul 14, 2017

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>
tfrommen added a commit that referenced this issue Jul 27, 2017
@tfrommen tfrommen self-assigned this Jul 27, 2017
tfrommen added a commit that referenced this issue Jul 28, 2017
Improve generated .htaccess file. #23
@tfrommen
Copy link
Member

Closed with 41a02f0.

@chesio
Copy link
Contributor Author

chesio commented Jul 28, 2017

Thanks!

@tfrommen
Copy link
Member

Thank you for making us aware, and providing the fix right away. 🙂

@chesio
Copy link
Contributor Author

chesio commented Jul 28, 2017

Gerne! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants