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

Update .htaccess files for Apache 2.4+ #1631

Closed
webspy opened this issue Jul 17, 2012 · 0 comments
Closed

Update .htaccess files for Apache 2.4+ #1631

webspy opened this issue Jul 17, 2012 · 0 comments

Comments

@webspy
Copy link

webspy commented Jul 17, 2012

In Apache 2.4+ the Deny directive is no longer available unless access_compat_module is enabled. Because of that the current .htaccess files used in certain CodeIgniter directories trigger 500 Internal Server Error when processed.

A possible update could be:

<IfModule authz_core_module>
    Require all denied
</IfModule>
<IfModule access_compat_module>
    Deny from all
</IfModule>
narfbg added a commit that referenced this issue Jul 17, 2012
Improve the solution for issue #1631
nonchip pushed a commit to nonchip/CodeIgniter that referenced this issue Jun 29, 2013
.htaccess directives compatible with both Apache 2.2 and 2.4
nonchip pushed a commit to nonchip/CodeIgniter that referenced this issue Jun 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants