Opened 7 years ago

Closed 4 years ago

#535 closed enhancement (fixed)

htaccess für Verzeichnisschutz kompatibel für Apache 2.2 und 2.4, Lösung:

Reported by: Roger Rehnelt Owned by: d.schmitzer
Priority: blocker Milestone: 4.1
Component: Core Version: 3.12
Keywords: Cc:

Description

<ifModule mod_authz_core.c>
Require all denied
</ifModule>

# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
</ifModule>

# section for Apache 2.2 and 2.4
IndexIgnore *

Change History (7)

comment:1 by Roger Rehnelt, 6 years ago

Priority: majorblocker

comment:2 by d.schmitzer, 6 years ago

Resolution: fixed
Status: newclosed

Umgesetzt.

comment:4 by Karl Herre, 4 years ago

Resolution: fixed
Status: closedreopened

comment:5 by Karl Herre, 4 years ago

<IfModule mod_authz_core.c>

# Apache 2.4
Require all denied

</IfModule>
<IfModule !mod_authz_core.c>

# Apache 2.2
Order allow,deny
Deny from all

</IfModule>

comment:6 by d.schmitzer, 4 years ago

Hab es jetzt so eingebaut:

<IfModule mod_authz_core.c>
    # Apache 2.4
    Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Deny from all
</IfModule>

# section for Apache 2.2 and 2.4
IndexIgnore *

Bitte testen. Am besten ein neues Produkt anlegen und ein Download hinterlegen, dir den Ordner anschauen und dann versuchen zuzugreifen.

comment:7 by Karl Herre, 4 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.