Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update .htaccess files for Apache 2.4+ #1631

Closed
webspy opened this Issue · 0 comments

2 participants

@webspy

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>
@vlakoff vlakoff referenced this issue from a commit in vlakoff/CodeIgniter
@vlakoff vlakoff Improve the solution for issue #1631
.htaccess directives compatible with both Apache 2.2 and 2.4
d1f02a8
@moura137 moura137 referenced this issue from a commit
@moura137 moura137 Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into …
…develop

* 'develop' of git://github.com/EllisLab/CodeIgniter: (152 commits)
  Enable travis for feature/* branches
  Improve the solution for issue #1631
  Updated .htaccess files with Apache 2.4+ safe deny statements. Fixes #1631
  Fix on _update_batch() : wrong variable used for field selection
  Inconsistency between log_message and show_error when encountering a non-existant class
  Changed TRUE and FALSE values to be uppercase
  Changed double quotes to single quotes to meet style guidelines
  Fix in index.php inline documentation
  Some adjustments in inline documentation
  Loader::model() - rename foreach ($model AS $single_model) to ($model AS $class). Consistent with ::library() and ::_ci_load_class()
  Add a changelog entry for issue #1605 (pull #1606) and remove some spaces
  fix issue #1605 covert page number type from float to int
  Rename $babe => $single_model, in foreach ($model AS $babe) {...}
  escape_identifiers() to not escape string literals inside double quotes as well
  Fix issue #1613
  Added data-ci-pagination-page="x" to pagination output so JS frameworks can hook on.
  Update develop
  Update develop
  Fix some spaces here
  again... new lines
  ...
fe93b0d
@nonchip nonchip referenced this issue from a commit in nonchip/CodeIgniter
@vlakoff vlakoff Improve the solution for issue #1631
.htaccess directives compatible with both Apache 2.2 and 2.4
53c1b14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.