Skip to content

Commit 0352fe1

Browse files
committed
minor #14509 Add DirectoryIndex to fallback for resources (wimme002)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead. Discussion ---------- Add DirectoryIndex to fallback for resources When `DirectoryIndex` is set `FallbackResource disabled` will do nothing because apache falls back to `DirectoryIndex`. Commits ------- 2b1f063 Add DirectoryIndex to fallback for resources
2 parents ca151ce + 2b1f063 commit 0352fe1

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)