For some reason Coldbox seems to be treating references to my “includes/images” directory as coldbox events. I’m using SES set up and my URLs do not contain index.cfm in them.
In my layout templates I have this near the top in the HTML section.
For some reason though, I keep getting flooded with emails from LogBox saying:
You know come to think of it, I had something similar awhile ago…
Make sure your images and styles folders are not being rewritten by what ever rules you are using, I do actually recall something similar.
I think what is happening is your includes are being processed by the rewrite rules, which in turn thinks it is an event, so you need to add a rule that stops this.
Yes, this sounds very promising Andrew. I’ve actually using some default rewrite rules, so I’m not sure what needs to be added to prevent this. I’m using IIS 7 for my web server.
I use Helicon rewrite which looks something like this.
#Images, css, javascript and docs, add your own extensions if needed.
RewriteCond %{REQUEST_URI} .(bmp|gif|jpe?g|png|css|js|txt|pdf|doc|xls|ico|swf)$
RewriteRule ^(.*)$ - [NC,L]
Not sure if Luis put anything for IIS rules into Coldbox, you might want to check the package.