Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Simplify Apache config with FallbackResource#10010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletionssetup/web_server_configuration.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -79,12 +79,7 @@ and increase web server performance:
Order Allow,Deny
Allow from All

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
FallbackResource /app.php
</Directory>

# uncomment the following lines if you install assets as symlinks
Expand All@@ -93,13 +88,11 @@ and increase web server performance:
# Options FollowSymlinks
# </Directory>

# optionally disable theRewriteEngine for the asset directories
# which will allowapache tosimply reply witha 404 when files are
# not found instead of passing the requestinto the full symfony stack
# optionally disable thefallback resource for the asset directories
# which will allowApache toreturna 404 error when files are
# not found instead of passing the requestto Symfony
<Directory /var/www/project/web/bundles>
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
FallbackResource disabled
</Directory>
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp