drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

304 errors with drupal 6 configurations

Open jgardezi opened this issue 10 years ago • 0 comments

Hi,

My configuration

  • drupal-with-nginx D6 branch
  • single php-fpm pool running on 127.0.0.1 port 9000 (connection to nginx using upstream_phpcgi_tcp.conf)
  • Ubuntu 12.04 LTS

Recently, I have noticed is that if I visit website shows blank page. So I went their, debugged the issue and found that when ever I clear the cache in Drupal 6 blank page shows up. Apache logs are showing following errors.

"GET / HTTP/1.1" 304 0 "http://example.com/" "Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3"

I think their is Drupal and Nginx cache conflict but can't figure out why this is happing. Drupal 6 caching mode is set to Normal.

Kind regards, Javed Gardezi

jgardezi avatar Jan 20 '15 23:01 jgardezi