- Issue created by @c-logemann
- 🇩🇪Germany c-logemann Frankfurt/M, Germany
Because I currently use apache2 not often it's better when somebody else will d. I created this Issue first to relate on it on the next one for nginx and its forks.
The D8+ version can serve static files directly via symfony request. But it's better to serve the files directly via webserver. The current apache config do not reflect what the D7 htaccess config helper shows conditions especially with cookie check.
# Caching for anonymous users
# Skip boost IF not get request OR uri has wrong dir OR cookie is set OR request came from this server
RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)$ [OR]
RewriteCond %{REQUEST_URI} (^/(admin|cache|misc|modules|sites|system|openid|themes|node/add|comment/reply))|(/(edit|user|user/(login|password|register))$) [OR]
RewriteCond %{HTTP_COOKIE} DRUPAL_UID [OR]
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule .* - [S=2]
it's obvious
Provide config examples with D8+ cookie check
Crete config example, test and add to apache documentation page and README.
-
-
-
Active
1.0
Documentation
Because I currently use apache2 not often it's better when somebody else will d. I created this Issue first to relate on it on the next one for nginx and its forks.