Skip to content

Commit e73afd5

Browse files
authored
Add DirectoryIndex to fallback for resources
When DirectoryIndex is set FallbackResource disabled will do nothing because apache falls back to DirectoryIndex
1 parent 24dcdfd commit e73afd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/web_server_configuration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ and increase web server performance:
127127
# which will allow Apache to return a 404 error when files are
128128
# not found instead of passing the request to Symfony
129129
<Directory /var/www/project/public/bundles>
130+
DirectoryIndex disabled
130131
FallbackResource disabled
131132
</Directory>
132133
ErrorLog /var/log/apache2/project_error.log

0 commit comments

Comments
 (0)