Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have seen other issues with this message but I couldn't draw a clear conclusion about how to fix it.
stdClass Object (
[request] => GET /sites/www.stratos.com.au/files/advagg_css/css_missing13315118841334110951_0.css HTTP/1.0
Host: www.stratos.com.au
User-Agent: Drupal (+http://drupal.org/)
Connection: close
[data] => <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><p><a href="/">Home</a></p><!-- advagg_missing_fast404 --></body></html>
[protocol] => HTTP/1.1
[status_message] => Not Found
[headers] => Array (
[Server] => nginx
[Date] => Wed, 11 Apr 2012 02:22:31 GMT
[Content-Type] => text/html; charset=utf-8
[Connection] => close
[Vary] => Cookie
[X-Backend] => B
[X-Purge-Level] => 6
[Last-Modified] => Wed, 11 Apr 2012 02:22:31 +0000
[ETag] => "1334110951"
[X-Content-Security-Policy] => default-src 'self'; report-uri admin/settings/seckit/csp-report
[X-WebKit-CSP] => default-src 'self'; report-uri admin/settings/seckit/csp-report
[X-XSS-Protection] => 1; mode=block
[X-Content-Type-Options] => nosniff
[X-Frame-Options] => SameOrigin
[X-AdvAgg] => Failed Validation. Wrong Pattern.
[Expires] => Sun, 19 Nov 1978 05:00:00 GMT
[Cache-Control] => must-revalidate
[Content-Length] => 307
)
[error] => Not Found
[code] => 404
[timer] => Array (
[count] => 1
[time] => 419.01
)
)
I'm running the latest BOA 2.0.2 with the following in nginx_octopus_include.conf
###
### Advagg_css and Advagg_js support.
###
location ~* files/advagg_(?:css|js)/ {
access_log off;
expires max;
limit_conn gulag 50;
rewrite ^/files/advagg_(.*)/(.*)$ /sites/$host/files/advagg_$1/$2 last;
add_header ETag "";
add_header Cache-Control "max-age=290304000, no-transform, public";
add_header Last-Modified "Wed, 20 Jan 1988 04:20:42 GMT";
add_header X-Header "AdvAgg Generator 1.0";
set $nocache_details "Skip";
try_files $uri @drupal;
}
IP Address to send all asynchronous requests to: -1
File system download method is set to Public.
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedEverything looks good. css_missing is a test I use to make sure the advagg files directory callback is working correctly and seeing how the
data
part contains<!-- advagg_missing_fast404 -->
it means everything is working as it should. Marking as fixed unless I missed something here, let me know :)Comment #2
tribe_of_dan CreditAttribution: tribe_of_dan commentedGreat thanks Mickeytown2, if you're happy I'm happy!
Comment #3.0
(not verified) CreditAttribution: commentedAdded info on File system settings