Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4742f5d

Browse filesBrowse files
freecastlejaviereguiluz
authored andcommitted
Readd handling of fallback of bundles directory in Apache config
1 parent 6fd2b0e commit 4742f5d
Copy full SHA for 4742f5d

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎setup/web_server_configuration.rst

Copy file name to clipboardExpand all lines: setup/web_server_configuration.rst
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ directive to pass requests for PHP files to PHP FPM:
178178
# Options FollowSymlinks
179179
# </Directory>
180180
181+
# optionally disable the fallback resource for the asset directories
182+
# which will allow Apache to return a 404 error when files are
183+
# not found instead of passing the request to Symfony
184+
# <Directory /var/www/project/public/bundles>
185+
# DirectoryIndex disabled
186+
# FallbackResource disabled
187+
# </Directory>
188+
181189
ErrorLog /var/log/apache2/project_error.log
182190
CustomLog /var/log/apache2/project_access.log combined
183191
</VirtualHost>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.