Task #3415

Update provided .htaccess

Added by remi over 7 years ago. Updated over 7 years ago.

Status:AssignedStart date:03/27/2012
Priority:NormalDue date:
Assignee:remi% Done:

10%

Category:Other
Target version:Unplanned

Description

Provided .htaccess in GLPI tarball works only for apache version <= 2.2

Should be adapted for apache version >= 2.4

See https://httpd.apache.org/docs/2.4/upgrading.html#access

Associated revisions

Revision 18030
Added by remi over 7 years ago

fix .htaccess, tested with httpd 2.0.52, see #3415

Revision 18031
Added by remi over 7 years ago

fix previous, see #3415

Revision 18065
Added by remi over 7 years ago

[0.83] fix .htaccess, tested with httpd 2.4.1, fixed #3415

Revision 18067
Added by remi over 7 years ago

[0.83] revert 18065, debian have not mod_version enabled, see #3415

Revision 18068
Added by remi over 7 years ago

revert, debian have not mod_version enabled, see #3415

History

#1 Updated by remi over 7 years ago

To be tested (works in config, don't know if works if .htaccess)

<IfVersion < 2.4>
Order deny,allow
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied 
</IfVersion>

#2 Updated by moyo over 7 years ago

  • Assignee set to remi
  • Target version changed from Candidate for next major version to 0.84

#3 Updated by remi over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r18065.

#4 Updated by moyo over 7 years ago

  • Target version changed from 0.84 to 0.83

#5 Updated by remi over 7 years ago

  • Status changed from Resolved to Assigned
  • Target version changed from 0.83 to Unplanned
  • % Done changed from 100 to 10

Need to find a working solution for all distro....
(debian doesn't have mod_version enabled on default installation)

#6 Updated by remi over 7 years ago

To be tested

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

Also available in: Atom PDF