Skip to content

Commit

Permalink
disable apache directory listing default
Browse files Browse the repository at this point in the history
Resolves #379
  • Loading branch information
htuscher committed Nov 27, 2020
1 parent 7714aaa commit 5f19e73
Show file tree
Hide file tree
Showing 46 changed files with 57 additions and 45 deletions.
2 changes: 1 addition & 1 deletion docker/apache/alpine/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/5.6/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/7.0/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/7.1/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/7.2/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/7.3/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/7.4/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
2 changes: 1 addition & 1 deletion docker/php-apache/8.0/conf/etc/httpd/conf.d/10-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DirectoryIndex <DOCUMENT_INDEX>
DocumentRoot "<DOCUMENT_ROOT>"

<Directory "<DOCUMENT_ROOT>">
Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride All

<IfVersion < 2.4>
Expand Down

0 comments on commit 5f19e73

Please sign in to comment.