Closed (won't fix)
Project:
ImageCache
Version:
5.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2008 at 19:55 UTC
Updated:
24 May 2012 at 07:11 UTC
Jump to comment: Most recent
Comments
Comment #1
danieljames commentedHi, this is probably too late but I just ran into the same issue. The problem is that IIRF doesn't support the QSA flag which is used in the drupal
.htaccess. So you need to emulate it. Here's the rule I'm using for drupal 6:Which seems to work pretty well but I have no idea if this would work for drupal 5. The only guides to using IIS that I could find don't use IIRF (such as: http://drupal.org/node/182320, http://drupal.org/node/27141, http://drupal.org/node/46429).
It's possible to patch imagecache to work around this, but that would be the wrong solution as it's likely that other parts of drupal would have similar problems.
Comment #2
drewish commentedyou might be able to get it working with private file transfers... currently the module is dependent on having mod_rewrite and clean URLs.
Comment #3
guyzalon commentedSame problem here... IIS and ImageCache can't live together :(
Comment #4
scifisi commentedThere's a solution if you're using ISAPI_Rewrite here:
http://www.caspianit.co.uk/imagecache-wrong-path/
code by danieljames works perfectly for 6.x with IIRF nice one Daniel.
Comment #5
earthday47+1 for comment #1 and scifisi's post. The combined solution of adding the IIRF rules AND copying the rules into the files dir's .htaccess worked.
Comment #6
Anonymous (not verified) commented+1 #4
This almost worked for me,
I was having issues seeing my file field thumbnails after doing what was recommended in #4, so instead of dropping a .htaccess in the sites/default/files dir, I dropped it in sites/default/files/imagecache and updated the rewrite rule to:
RewriteRule ^(.*)$ /index.php?q=sites/default/files/imagecache/$1 [L,QSA]Comment #7
fizk commented