I suggest making the following change at line 46 to the imagecache.module:

- $items[] = array( 'path' => 'files/imagecache',
+ $items[] = arrray( 'path' => 'virtual/imagecache',

The 'path' should be changed to something which doesn't exist. For example, 'virtual/imagecache', because apache will catch the path "files/" since it actually exists and generate a 404 error before drupal has an chance to get the existing path.

Comments

dopry’s picture

Status: Active » Closed (works as designed)

imagecache actually depends on it having a real path. read up on apache rewrite and the -f flag...

You need to comment out the rewrite engine off stanza in your files folder in the .htaccess apache creates.
I use the files path because drupal should have write access to it.